mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
add ENVs back in
This commit is contained in:
parent
48583f470c
commit
2c6731df0c
@ -432,6 +432,11 @@ class TestSettings(TestCase):
|
||||
def test_set_user_to_few(self):
|
||||
# add shortcut
|
||||
user_count = self.user_mdl.objects.count
|
||||
# enable testing mode
|
||||
settings.TESTING_ENV = True
|
||||
|
||||
# nothing set
|
||||
self.assertEqual(user_count(), 0)
|
||||
|
||||
# make sure to clean up
|
||||
settings.TESTING_ENV = False
|
||||
|
Loading…
Reference in New Issue
Block a user