From b49d46af580d9de73e02bff24d7db435b023cf1f Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 13 Feb 2022 20:38:05 +0100 Subject: [PATCH] update system health check --- InvenTree/InvenTree/tests.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/InvenTree/InvenTree/tests.py b/InvenTree/InvenTree/tests.py index 7ccc34deac..205231eb7b 100644 --- a/InvenTree/InvenTree/tests.py +++ b/InvenTree/InvenTree/tests.py @@ -399,7 +399,8 @@ class TestStatus(TestCase): """ def test_check_system_healt(self): - self.assertTrue(status.check_system_health()) + """test that the system health check is false in testing -> background worker not running""" + self.assertEqual(status.check_system_health(), False) def test_TestMode(self): self.assertTrue(ready.isInTestMode())