Skip to content

Commit f15bfe5

Browse files
committed
cover
1 parent ac8e7e1 commit f15bfe5

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

tests/utils/test_name.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ def test_service_type_name_overlong_full_name():
2727

2828
def test_possible_types():
2929
"""Test possible types from name."""
30+
assert nameutils.possible_types('.') == set()
31+
assert nameutils.possible_types('local.') == set()
32+
assert nameutils.possible_types('_tcp.local.') == set()
3033
assert nameutils.possible_types('_test-srvc-type._tcp.local.') == {'_test-srvc-type._tcp.local.'}
3134
assert nameutils.possible_types('_any._tcp.local.') == {'_any._tcp.local.'}
3235
assert nameutils.possible_types('.._x._tcp.local.') == {'_x._tcp.local.'}

0 commit comments

Comments
 (0)