Commit a35a8223 authored by Daniel Schreiber's avatar Daniel Schreiber

treat future compatibility problems as error

fail early
parent cc0987c8
......@@ -5,9 +5,12 @@ import sys
import django
from django.conf import settings
from django.test.utils import get_runner
from django.utils.deprecation import RemovedInNextVersionWarning
import warnings
if __name__ == "__main__":
os.environ['DJANGO_SETTINGS_MODULE'] = 'tests.test_settings'
warnings.filterwarnings('error', category=RemovedInNextVersionWarning)
django.setup()
TestRunner = get_runner(settings)
test_runner = TestRunner()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment