fix: preserve shared rack units during import

This commit is contained in:
2026-08-19 10:53:44 +02:00
parent 7216dad2b4
commit 1c6708216c
7 changed files with 110 additions and 18 deletions
@@ -246,7 +246,7 @@ class TopologyViewsRackWidthTest(SimpleTestCase):
self.assertIn('id="netbox-utilities-topology-rack-width-styles"', html)
self.assertIn('.rack-device[href="/dcim/devices/334/"]', html)
self.assertIn("left: calc(50% + 3px) !important", html)
self.assertIn("netbox_utilities/topology-rack-width.js?v=0.9.10", html)
self.assertIn("netbox_utilities/topology-rack-width.js?v=0.9.11", html)
self.assertIn("left:calc(0% + 3px)!important", html)
self.assertIn("left:calc(50% + 3px)!important", html)
self.assertIn("width:calc(50% - 6px)!important", html)