Skip to content

Commit

Permalink
Fixes tests after Nautobot v2.3.3 prefix label change
Browse files Browse the repository at this point in the history
  • Loading branch information
joewesch committed Sep 19, 2024
1 parent c70b745 commit 5c434e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration/test_ipam.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ def test_prefixes_successfully_stringify_tags(nb_client):
prefix="192.0.2.0/24", namespace={"name": "Global"}, status={"name": "Active"}, tags=[tag.id]
)
prefix = nb_client.ipam.prefixes.get(prefix="192.0.2.0/24", namespace="Global")
assert str(prefix) == "192.0.2.0/24"
assert "192.0.2.0/24" in str(prefix)
assert prefix.tags
assert isinstance(prefix.tags[0], Record)

0 comments on commit 5c434e7

Please sign in to comment.