From a500e8cf542a71a73ee2bba2cf2114c89676fd4d Mon Sep 17 00:00:00 2001 From: Matthias Mair <66015116+matmair@users.noreply.github.com> Date: Tue, 1 Mar 2022 12:28:31 +0100 Subject: [PATCH] Fix typo --- InvenTree/InvenTree/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InvenTree/InvenTree/settings.py b/InvenTree/InvenTree/settings.py index 069d0d3363..d820dfb716 100644 --- a/InvenTree/InvenTree/settings.py +++ b/InvenTree/InvenTree/settings.py @@ -36,7 +36,7 @@ def _is_true(x): # Determine if we are running in "test" mode e.g. "manage.py test" -TESTING = 'test' in sys. +TESTING = 'test' in sys.argv # Are enviroment variables manipulated by tests? Needs to be set by testing code TESTING_ENV = False