Closes #4742: Add tagging for cables, power panels, and rack reservations

This commit is contained in:
Jeremy Stretch
2020-06-10 14:55:46 -04:00
parent 67784c0568
commit 88ae522c9a
13 changed files with 86 additions and 12 deletions

View File

@@ -202,6 +202,7 @@ class RackReservationTestCase(ViewTestCases.PrimaryObjectViewTestCase):
'user': user3.pk,
'tenant': None,
'description': 'Rack reservation',
'tags': 'Alpha,Bravo,Charlie',
}
cls.csv_data = (
@@ -1510,6 +1511,7 @@ class CableTestCase(
'color': 'c0c0c0',
'length': 100,
'length_unit': CableLengthUnitChoices.UNIT_FOOT,
'tags': 'Alpha,Bravo,Charlie',
}
cls.csv_data = (
@@ -1609,6 +1611,7 @@ class PowerPanelTestCase(ViewTestCases.PrimaryObjectViewTestCase):
'site': sites[1].pk,
'rack_group': rackgroups[1].pk,
'name': 'Power Panel X',
'tags': 'Alpha,Bravo,Charlie',
}
cls.csv_data = (