diff --git a/unittests/tag_tests/test_iptag.py b/unittests/tag_tests/test_iptag.py index 63141f88..87c5f4c7 100644 --- a/unittests/tag_tests/test_iptag.py +++ b/unittests/tag_tests/test_iptag.py @@ -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")