mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-24 17:38:37 -06:00
Add test for #5461
This commit is contained in:
parent
1f4954bf0e
commit
974500c281
@ -302,6 +302,14 @@ class RackTestCase(ViewTestCases.PrimaryObjectViewTestCase):
|
|||||||
'comments': 'New comments',
|
'comments': 'New comments',
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@override_settings(EXEMPT_VIEW_PERMISSIONS=['*'])
|
||||||
|
def test_list_rack_elevations(self):
|
||||||
|
"""
|
||||||
|
Test viewing the list of rack elevations.
|
||||||
|
"""
|
||||||
|
response = self.client.get(reverse('dcim:rack_elevation_list'))
|
||||||
|
self.assertHttpStatus(response, 200)
|
||||||
|
|
||||||
|
|
||||||
class ManufacturerTestCase(ViewTestCases.OrganizationalObjectViewTestCase):
|
class ManufacturerTestCase(ViewTestCases.OrganizationalObjectViewTestCase):
|
||||||
model = Manufacturer
|
model = Manufacturer
|
||||||
|
Loading…
Reference in New Issue
Block a user