Skip to content

Commit

Permalink
Creates the location type to be nestable to have a parent.
Browse files Browse the repository at this point in the history
  • Loading branch information
jvanderaa committed Jun 27, 2023
1 parent 78a8804 commit 9d88ff9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration/nautobot-populate.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9d88ff9

Please sign in to comment.