mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-05 01:45:28 +00:00
Update unit testing
This commit is contained in:
1 parent
b05504e1c4
commit
0f9c4703cf
1 file changed
+1
-1
@@ -31,7 +31,7 @@ class SettingsTest(TestCase):
|
||||
# There should be two settings objects in the database
|
||||
settings = InvenTreeSetting.objects.all()
|
||||
|
||||
self.assertEqual(settings.count(), 2)
|
||||
self.assertTrue(settings.count() >= 2)
|
||||
|
||||
instance_name = InvenTreeSetting.objects.get(pk=1)
|
||||
self.assertEqual(instance_name.key, 'INVENTREE_INSTANCE')
|
||||
|
||||
Reference in new issue
Block a user