fix test assertation

This commit is contained in:
Matthias 2022-05-06 03:03:08 +02:00
parent 2261e7a615
commit 09ceada639
No known key found for this signature in database
GPG Key ID: AB6D0E6C4CB65093

View File

@ -82,7 +82,7 @@ class TemplateTagTest(TestCase):
self.assertEqual(inventree_extras.keyvalue({'a': 'a'}, 'a'), 'a')
def test_mail_configured(self):
self.assertEqual(inventree_extras.mail_configured(), True)
self.assertEqual(inventree_extras.mail_configured(), False)
def test_user_settings(self):
result = inventree_extras.user_settings(self.user)