mirror of
https://github.com/inventree/InvenTree.git
synced 2025-05-01 04:56:45 +00:00
nothing test
This commit is contained in:
parent
2c6731df0c
commit
d03af8f5b0
@ -438,5 +438,10 @@ class TestSettings(TestCase):
|
||||
# nothing set
|
||||
self.assertEqual(user_count(), 0)
|
||||
|
||||
# not enough set
|
||||
self.env.set('INVENTREE_ADMIN_USER', 'admin') # set username
|
||||
self.run_reload()
|
||||
self.assertEqual(user_count(), 0)
|
||||
|
||||
# make sure to clean up
|
||||
settings.TESTING_ENV = False
|
||||
|
Loading…
x
Reference in New Issue
Block a user