mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-25 08:46:10 -06:00
Fix issue with tests
This commit is contained in:
parent
18754fe8dc
commit
5f73eb98b9
@ -2181,6 +2181,7 @@ class VirtualDeviceContextTest(APIViewTestCases.APIViewTestCase):
|
|||||||
'status': 'planned',
|
'status': 'planned',
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@classmethod
|
||||||
def setUpTestData(cls):
|
def setUpTestData(cls):
|
||||||
site = Site.objects.create(name='Test Site', slug='test-site')
|
site = Site.objects.create(name='Test Site', slug='test-site')
|
||||||
manufacturer = Manufacturer.objects.create(name='Manufacturer 1', slug='manufacturer-1')
|
manufacturer = Manufacturer.objects.create(name='Manufacturer 1', slug='manufacturer-1')
|
||||||
|
Loading…
Reference in New Issue
Block a user