diff options
Diffstat (limited to 'tst')
-rw-r--r-- | tst/test_listen.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tst/test_listen.py b/tst/test_listen.py index 85c13f9..bf677e2 100644 --- a/tst/test_listen.py +++ b/tst/test_listen.py @@ -16,7 +16,7 @@ from urllib.parse import urljoin, urlsplit from xml.etree.ElementTree import (XML, XMLParser, indent, tostring as str_from_xml) -from hypothesis import HealthCheck, given, settings +from hypothesis import HealthCheck, example, given, settings from hypothesis.strategies import (booleans, composite, data, datetimes, from_type, integers, just, sampled_from, sets, text, uuids) @@ -57,6 +57,7 @@ def test_path(hostname, port, number, string): assert str_from_base64(r[2]) == string +@example('example.net', {'net'}) @given(domains(), sets(domains())) def test_is_subdomain(subject, objects): if not objects: |