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())