From 9d88ff9040eb633569e59bc6721d931b6005c3fb Mon Sep 17 00:00:00 2001 From: Josh VanDeraa Date: Tue, 27 Jun 2023 13:45:41 -0500 Subject: [PATCH] Creates the location type to be nestable to have a parent. --- tests/integration/nautobot-populate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/nautobot-populate.py b/tests/integration/nautobot-populate.py index 7ec3b212..252a4fc3 100755 --- a/tests/integration/nautobot-populate.py +++ b/tests/integration/nautobot-populate.py @@ -96,7 +96,7 @@ def make_nautobot_calls(endpoint, payload): test_site2 = nb.dcim.sites.get(slug="test-site2") # Create location type -location_types = [{"name": "My Location Type", "slug": "my-location-type"}] +location_types = [{"name": "My Location Type", "slug": "my-location-type", "nestable": True}] created_location_types = make_nautobot_calls(nb.dcim.location_types, location_types) # Create power panel