Skip to content

Commit 91404d8

Browse files
committed
fix api test
1 parent ee8a0c2 commit 91404d8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

netbox_custom_objects/tests/test_api.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ def setUpTestData(cls):
5050

5151
cls.model = cls.custom_object_type1.get_model()
5252
cls.create_custom_object_type_field(cls.custom_object_type1)
53+
cls.model = cls.custom_object_type1.get_model()
5354

5455
# Set the model for the test class
5556
CustomObjectTest.model = cls.model

0 commit comments

Comments
 (0)