import os

os.environ['DJANGO_SETTINGS_MODULE'] = 'tests.settings'

import django  # noqa

if django.__version__ >= (1, 7):
    django.setup()


from django.core import management  # noqa

management.call_command('test', 'tests')

import os

os.environ['DJANGO_SETTINGS_MODULE'] = 'tests.settings'

import django  # noqa

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


from django.core import management  # noqa

management.call_command('test', 'tests')

Fix name of Django version attribute
Fix name of Django version attribute

Signed-off-by: Byron Ruth <e9d71f5ee7c92d6dc9e92ffdad17b8bd49418f98@devel.io>
