7 from django.core.management import call_command
11 os.environ['DJANGO_SETTINGS_MODULE'] = 'fnp_django_pagination.tests.settings'
15 except AttributeError: # for Django 1.6 compatible
18 failures = call_command('test', 'fnp_django_pagination')
19 sys.exit(bool(failures))
21 if __name__ == '__main__':