Skip to content

Commit

Permalink
Typo fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
terjekv committed Jan 24, 2025
1 parent a5e15a2 commit 9bb19e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mreg/api/v1/tests/test_network_policy.py
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ def test_change_ip_of_host_to_outside_of_community_gives_409(self):
# The IP above does not belong a network, so we get a 404
self.assert_patch_and_404(f'/api/v1/ipaddresses/{ip.pk}', data=data)

# Then we create the networ, but don't associate it with the policy
# Then we create the network, but don't associate it with the policy
new_network = Network.objects.create(network="10.0.1.0/24", description="test_network")
# Now we get a 409 as the IP is not in the network associated with the policy
self.assert_patch_and_409(f'/api/v1/ipaddresses/{ip.pk}', data=data)
Expand Down

1 comment on commit 9bb19e7

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.