mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-25 18:08:38 -06:00
Fix test
This commit is contained in:
parent
3589f73da1
commit
9f2ef2b909
@ -25,7 +25,7 @@ class PluginTest(TestCase):
|
||||
|
||||
def test_model_registration(self):
|
||||
self.assertTrue(
|
||||
ObjectType.objects.get(app_label='dummy_plugin', model='dummymodel').exists()
|
||||
ObjectType.objects.filter(app_label='dummy_plugin', model='dummymodel').exists()
|
||||
)
|
||||
|
||||
def test_models(self):
|
||||
|
Loading…
Reference in New Issue
Block a user