mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-14 11:05:41 +00:00
update system health check
This commit is contained in:
@ -399,7 +399,8 @@ class TestStatus(TestCase):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
def test_check_system_healt(self):
|
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):
|
def test_TestMode(self):
|
||||||
self.assertTrue(ready.isInTestMode())
|
self.assertTrue(ready.isInTestMode())
|
||||||
|
Reference in New Issue
Block a user