Skip to content

Commit 7f15a67

Browse files
committed
Use unique names in service types tests
1 parent 32b7dc4 commit 7f15a67

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

tests/services/test_types.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
class ServiceTypesQuery(unittest.TestCase):
2020
def test_integration_with_listener(self):
2121

22-
type_ = "_test-srvc-type._tcp.local."
22+
type_ = "_test-listen-type._tcp.local."
2323
name = "xxxyyy"
2424
registration_name = "%s.%s" % (name, type_)
2525

@@ -50,7 +50,7 @@ def test_integration_with_listener(self):
5050
@unittest.skipIf(os.environ.get('SKIP_IPV6'), 'IPv6 tests disabled')
5151
def test_integration_with_listener_v6_records(self):
5252

53-
type_ = "_test-srvc-type._tcp.local."
53+
type_ = "_test-listenv6rec-type._tcp.local."
5454
name = "xxxyyy"
5555
registration_name = "%s.%s" % (name, type_)
5656
addr = "2606:2800:220:1:248:1893:25c8:1946" # example.com
@@ -82,7 +82,7 @@ def test_integration_with_listener_v6_records(self):
8282
@unittest.skipIf(os.environ.get('SKIP_IPV6'), 'IPv6 tests disabled')
8383
def test_integration_with_listener_ipv6(self):
8484

85-
type_ = "_test-srvc-type._tcp.local."
85+
type_ = "_test-listenv6ip-type._tcp.local."
8686
name = "xxxyyy"
8787
registration_name = "%s.%s" % (name, type_)
8888

@@ -111,7 +111,7 @@ def test_integration_with_listener_ipv6(self):
111111

112112
def test_integration_with_subtype_and_listener(self):
113113
subtype_ = "_subtype._sub"
114-
type_ = "_type._tcp.local."
114+
type_ = "_listen._tcp.local."
115115
name = "xxxyyy"
116116
# Note: discovery returns only DNS-SD type not subtype
117117
discovery_type = "%s.%s" % (subtype_, type_)

0 commit comments

Comments
 (0)