Skip to content

Commit

Permalink
remove test of port setter as no long supported
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-B committed Nov 13, 2024
1 parent 9f20dc8 commit c71e6c9
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions unittests/tag_tests/test_iptag.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,13 +102,6 @@ def test_in_dict(self):
assert d[iptag_2] == 10
assert len(d) == 2

def test_set_port(self):
tag = IPTag("examplehost", 0, 0, 0, "")
tag.port = 1
with self.assertRaises(RuntimeError) as e:
tag.port = 2
self.assertIn("Port cannot be set more than once", str(e.exception))

def test_no_equals(self):
iptag = IPTag("", 0, 0, 0, "", 1)
self.assertNotEqual(iptag, "foo")
Expand Down

0 comments on commit c71e6c9

Please sign in to comment.