Skip to content

Commit

Permalink
Fix test case for contrib
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcgill298 committed Apr 2, 2024
1 parent 227f667 commit 4780efb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nautobot_ssot/tests/test_contrib_adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,7 @@ class Adapter(NautobotAdapter):
top_level = ["vlan_group"]

location_type = dcim_models.LocationType.objects.create(name="Building")
location_type.content_types.add(ContentType.objects.get_for_model(ipam_models.VLAN))
location = dcim_models.Location.objects.create(
name="Example Building", location_type=location_type, status=extras_models.Status.objects.get(name="Active")
)
Expand Down

0 comments on commit 4780efb

Please sign in to comment.