#!/usr/bin/env python
import os
import sys
from django.conf import settings

BASE_DIR = os.path.dirname(os.path.dirname(__file__))

settings.configure(

    DATABASES={
        'default': {
            'ENGINE': 'django.db.backends.sqlite3',
            'NAME': ':memory:',
        },
    },
    INSTALLED_APPS = (
        'error_email_throttle',
    ),
    MIDDLEWARE_CLASSES = [],
    MEDIA_ROOT = os.path.join(BASE_DIR, 'media'),
    TEST_RUNNER = 'django_nose.NoseTestSuiteRunner',
    NOSE_ARGS = [
        '--verbosity=2',
        '--nocapture',
    ],
)

if __name__ == "__main__":
    from django.core.management import execute_from_command_line

    execute_from_command_line(sys.argv[:1] + ['test'] + sys.argv[1:])

24ebdd63d741c042019f7918a9873c467b415919
<mask token>

<mask token>
settings.configure(DATABASES={'default': {'ENGINE':
    'django.db.backends.sqlite3', 'NAME': ':memory:'}}, INSTALLED_APPS=(
    'error_email_throttle',), MIDDLEWARE_CLASSES=[], MEDIA_ROOT=os.path.
    join(BASE_DIR, 'media'), TEST_RUNNER='django_nose.NoseTestSuiteRunner',
    NOSE_ARGS=['--verbosity=2', '--nocapture'])
if __name__ == '__main__':
    from django.core.management import execute_from_command_line
    execute_from_command_line(sys.argv[:1] + ['test'] + sys.argv[1:])

<mask token>
BASE_DIR = os.path.dirname(os.path.dirname(__file__))
settings.configure(DATABASES={'default': {'ENGINE':
    'django.db.backends.sqlite3', 'NAME': ':memory:'}}, INSTALLED_APPS=(
    'error_email_throttle',), MIDDLEWARE_CLASSES=[], MEDIA_ROOT=os.path.
    join(BASE_DIR, 'media'), TEST_RUNNER='django_nose.NoseTestSuiteRunner',
    NOSE_ARGS=['--verbosity=2', '--nocapture'])
if __name__ == '__main__':
    from django.core.management import execute_from_command_line
    execute_from_command_line(sys.argv[:1] + ['test'] + sys.argv[1:])

import os
import sys
from django.conf import settings
BASE_DIR = os.path.dirname(os.path.dirname(__file__))
settings.configure(DATABASES={'default': {'ENGINE':
    'django.db.backends.sqlite3', 'NAME': ':memory:'}}, INSTALLED_APPS=(
    'error_email_throttle',), MIDDLEWARE_CLASSES=[], MEDIA_ROOT=os.path.
    join(BASE_DIR, 'media'), TEST_RUNNER='django_nose.NoseTestSuiteRunner',
    NOSE_ARGS=['--verbosity=2', '--nocapture'])
if __name__ == '__main__':
    from django.core.management import execute_from_command_line
    execute_from_command_line(sys.argv[:1] + ['test'] + sys.argv[1:])

#!/usr/bin/env python
import os
import sys
from django.conf import settings

BASE_DIR = os.path.dirname(os.path.dirname(__file__))

settings.configure(

    DATABASES={
        'default': {
            'ENGINE': 'django.db.backends.sqlite3',
            'NAME': ':memory:',
        },
    },
    INSTALLED_APPS = (
        'error_email_throttle',
    ),
    MIDDLEWARE_CLASSES = [],
    MEDIA_ROOT = os.path.join(BASE_DIR, 'media'),
    TEST_RUNNER = 'django_nose.NoseTestSuiteRunner',
    NOSE_ARGS = [
        '--verbosity=2',
        '--nocapture',
    ],
)

if __name__ == "__main__":
    from django.core.management import execute_from_command_line

    execute_from_command_line(sys.argv[:1] + ['test'] + sys.argv[1:])
