#!/usr/bin/env python

# Django must be set up before we import our libraries and run our tests

import sys

import django
from django.conf import settings


settings.configure(
    DEBUG=True,
    DATABASES={
        'default': {
            'ENGINE': 'django.db.backends.sqlite3',
        },
    },
    CACHES={
        'default': {
            'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
            'LOCATION': 'localhost',
            'OPTIONS': {
                'MAX_ENTRIES': 2 ** 32,
            },
        },
    },
    INSTALLED_APPS=(
        'django.contrib.auth',
        'django.contrib.contenttypes',
        'django.contrib.sessions',
        'ormcache',
        'tests.testapp',
    ),
)

if django.VERSION[:2] >= (1, 7):
    django.setup()


# Run tests
#
from django.test.runner import DiscoverRunner

test_runner = DiscoverRunner(verbosity=1)
test_runner.setup_databases()
failures = test_runner.run_tests(['tests', ])
if failures:
    sys.exit(failures)

#!/usr/bin/env python

# Django must be set up before we import our libraries and run our tests

import sys

import django
from django.conf import settings


settings.configure(
    DEBUG=True,
    DATABASES={
        'default': {
            'ENGINE': 'django.db.backends.sqlite3',
        },
    },
    CACHES={
        'default': {
            'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
            'LOCATION': 'localhost',
            'OPTIONS': {
                'MAX_ENTRIES': 2 ** 32,
            },
        },
    },
    INSTALLED_APPS=(
        'django.contrib.auth',
        'django.contrib.contenttypes',
        'django.contrib.sessions',
        'ormcache',
        'tests.testapp',
    ),
)

if django.VERSION[:2] >= (1, 7):
    django.setup()


# Run tests

from django.test.runner import DiscoverRunner

test_runner = DiscoverRunner(verbosity=1)
test_runner.setup_databases()
failures = test_runner.run_tests(['tests', ])
if failures:
    sys.exit(failures)

Remove blank comment