1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00
This commit is contained in:
Jeremy Stretch
2019-09-25 16:39:04 -04:00
parent 5f3528cf74
commit 36d4f0d259

View File

@@ -92,7 +92,7 @@ class DeviceTypeImportTestCase(TestCase):
self.assertTrue(iface1.mgmt_only)
self.assertEqual(dt.rearport_templates.count(), 3)
rp1 = FrontPortTemplate.objects.first()
rp1 = RearPortTemplate.objects.first()
self.assertEqual(rp1.name, 'Rear Port 1')
self.assertEqual(dt.frontport_templates.count(), 3)