From cd4981eeb3b4397d52c06c856f2d36b7b454ece3 Mon Sep 17 00:00:00 2001 From: Justin Drew <2396364+jdrew82@users.noreply.github.com> Date: Fri, 20 Dec 2024 20:53:16 -0600 Subject: [PATCH] =?UTF-8?q?test:=20=E2=9C=85=20Update=20tests=20to=20add?= =?UTF-8?q?=20missing=20pieces=20like=20id=20key?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nautobot_ssot/tests/dna_center/test_adapters_dna_center.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/nautobot_ssot/tests/dna_center/test_adapters_dna_center.py b/nautobot_ssot/tests/dna_center/test_adapters_dna_center.py index 7dea21aa..3d3131bb 100644 --- a/nautobot_ssot/tests/dna_center/test_adapters_dna_center.py +++ b/nautobot_ssot/tests/dna_center/test_adapters_dna_center.py @@ -216,6 +216,8 @@ def test_load_device_location_tree_w_floor(self): self.dna_center.building_map = { "5": { "name": "HQ", + "id": "5", + "parentId": "4", "additionalInfo": [ { "nameSpace": "Location", @@ -229,6 +231,7 @@ def test_load_device_location_tree_w_floor(self): }, } ], + "siteHierarchy": "/1/2/3/4/5/", }, } mock_loc_data = {"areas": ["Global", "USA", "New York", "NYC"], "building": "HQ", "floor": "1st Floor"} @@ -277,6 +280,8 @@ def test_load_device_location_tree_wo_floor(self): self.dna_center.building_map = { "5": { "name": "HQ", + "id": "5", + "parentId": "4", "additionalInfo": [ { "nameSpace": "Location", @@ -290,6 +295,7 @@ def test_load_device_location_tree_wo_floor(self): }, } ], + "siteHierarchy": "/1/2/3/4/5/", }, } mock_loc_data = {"areas": ["Global", "USA", "New York", "NYC"], "building": "HQ"}