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