diff --git a/InvenTree/InvenTree/settings.py b/InvenTree/InvenTree/settings.py index 73a38b484d..6d7c937d54 100644 --- a/InvenTree/InvenTree/settings.py +++ b/InvenTree/InvenTree/settings.py @@ -45,6 +45,7 @@ def get_setting(environment_var, backup_val, default_value=None): return default_value + # Determine if we are running in "test" mode e.g. "manage.py test" TESTING = 'test' in sys.argv diff --git a/InvenTree/InvenTree/tests.py b/InvenTree/InvenTree/tests.py index 0da45e9373..8465473901 100644 --- a/InvenTree/InvenTree/tests.py +++ b/InvenTree/InvenTree/tests.py @@ -275,7 +275,7 @@ class TestSerialNumberExtraction(TestCase): class TestVersionNumber(TestCase): """ Unit tests for version number functions - """ + """ def test_tuple(self):