diff --git a/nautobot_ssot/tests/device42/unit/test_device42_adapter.py b/nautobot_ssot/tests/device42/unit/test_device42_adapter.py index 702a9ee8f..cfc0d6fea 100644 --- a/nautobot_ssot/tests/device42/unit/test_device42_adapter.py +++ b/nautobot_ssot/tests/device42/unit/test_device42_adapter.py @@ -88,8 +88,12 @@ def setUp(self): self.master_dev.os_version = "" @patch( - "nautobot_ssot.integrations.device42.diffsync.adapters.device42.PLUGIN_CFG", - {"device42_customer_is_facility": True, "device42_hostname_mapping": [{"AUS": "Austin"}]}, + "nautobot_ssot.integrations.device42.utils.device42.PLUGIN_CFG", + { + "device42_customer_is_facility": True, + "device42_facility_prepend": "sitecode-", + "device42_hostname_mapping": [{"AUS": "Austin"}], + }, ) def test_data_loading(self): """Test the load() function.""" diff --git a/nautobot_ssot/tests/device42/unit/test_utils_device42.py b/nautobot_ssot/tests/device42/unit/test_utils_device42.py index 1f91c128b..40ce4543a 100644 --- a/nautobot_ssot/tests/device42/unit/test_utils_device42.py +++ b/nautobot_ssot/tests/device42/unit/test_utils_device42.py @@ -174,7 +174,7 @@ def test_get_netmiko_platform(self, name, sent, received): # pylint: disable=un self.assertEqual(device42.get_netmiko_platform(sent), received) @patch( - "nautobot_ssot.integrations.device42.diffsync.adapters.device42.PLUGIN_CFG", + "nautobot_ssot.integrations.device42.utils.device42.PLUGIN_CFG", {"device42_role_prepend": "nautobot-"}, ) def test_find_device_role_from_tags(self): @@ -189,7 +189,7 @@ def test_find_device_role_from_tags(self): self.assertEqual(device42.find_device_role_from_tags(tag_list=tags_missing_role), "Unknown") @patch( - "nautobot_ssot.integrations.device42.diffsync.adapters.device42.PLUGIN_CFG", + "nautobot_ssot.integrations.device42.utils.device42.PLUGIN_CFG", {"device42_facility_prepend": "sitecode-"}, ) def test_get_facility(self):