Update unit testing
This commit is contained in:
parent
b05504e1c4
commit
0f9c4703cf
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Reference in New Issue