nothing test

This commit is contained in:
Matthias 2022-03-02 22:50:36 +01:00
parent 2c6731df0c
commit d03af8f5b0
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076

View File

@ -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