mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-24 09:28:38 -06:00
Correct exempted test methods on InterfaceTestCase
This commit is contained in:
parent
4f830c9c22
commit
7def37961a
@ -187,14 +187,14 @@ class VirtualMachineTestCase(ViewTestCases.PrimaryObjectViewTestCase):
|
|||||||
|
|
||||||
class InterfaceTestCase(
|
class InterfaceTestCase(
|
||||||
ViewTestCases.GetObjectViewTestCase,
|
ViewTestCases.GetObjectViewTestCase,
|
||||||
ViewTestCases.DeviceComponentViewTestCase,
|
ViewTestCases.EditObjectViewTestCase,
|
||||||
|
ViewTestCases.DeleteObjectViewTestCase,
|
||||||
|
ViewTestCases.BulkCreateObjectsViewTestCase,
|
||||||
|
ViewTestCases.BulkEditObjectsViewTestCase,
|
||||||
|
ViewTestCases.BulkDeleteObjectsViewTestCase,
|
||||||
):
|
):
|
||||||
model = Interface
|
model = Interface
|
||||||
|
|
||||||
# Disable inapplicable tests
|
|
||||||
test_list_objects = None
|
|
||||||
test_import_objects = None
|
|
||||||
|
|
||||||
def _get_base_url(self):
|
def _get_base_url(self):
|
||||||
# Interface belongs to the DCIM app, so we have to override the base URL
|
# Interface belongs to the DCIM app, so we have to override the base URL
|
||||||
return 'virtualization:interface_{}'
|
return 'virtualization:interface_{}'
|
||||||
|
Loading…
Reference in New Issue
Block a user