From 7f15a67c87704ab03d77535cd888e527362ab4e9 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Wed, 16 Jun 2021 14:01:54 -1000 Subject: [PATCH] Use unique names in service types tests --- tests/services/test_types.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/services/test_types.py b/tests/services/test_types.py index 6f6645db..ba355bae 100644 --- a/tests/services/test_types.py +++ b/tests/services/test_types.py @@ -19,7 +19,7 @@ class ServiceTypesQuery(unittest.TestCase): def test_integration_with_listener(self): - type_ = "_test-srvc-type._tcp.local." + type_ = "_test-listen-type._tcp.local." name = "xxxyyy" registration_name = "%s.%s" % (name, type_) @@ -50,7 +50,7 @@ def test_integration_with_listener(self): @unittest.skipIf(os.environ.get('SKIP_IPV6'), 'IPv6 tests disabled') def test_integration_with_listener_v6_records(self): - type_ = "_test-srvc-type._tcp.local." + type_ = "_test-listenv6rec-type._tcp.local." name = "xxxyyy" registration_name = "%s.%s" % (name, type_) addr = "2606:2800:220:1:248:1893:25c8:1946" # example.com @@ -82,7 +82,7 @@ def test_integration_with_listener_v6_records(self): @unittest.skipIf(os.environ.get('SKIP_IPV6'), 'IPv6 tests disabled') def test_integration_with_listener_ipv6(self): - type_ = "_test-srvc-type._tcp.local." + type_ = "_test-listenv6ip-type._tcp.local." name = "xxxyyy" registration_name = "%s.%s" % (name, type_) @@ -111,7 +111,7 @@ def test_integration_with_listener_ipv6(self): def test_integration_with_subtype_and_listener(self): subtype_ = "_subtype._sub" - type_ = "_type._tcp.local." + type_ = "_listen._tcp.local." name = "xxxyyy" # Note: discovery returns only DNS-SD type not subtype discovery_type = "%s.%s" % (subtype_, type_)