diff options
author | Nguyễn Gia Phong <cnx@loang.net> | 2025-07-08 14:32:45 +0900 |
---|---|---|
committer | Nguyễn Gia Phong <cnx@loang.net> | 2025-07-08 15:07:48 +0900 |
commit | e638ca3f5062f592e796fae33391fb715dbf0c9e (patch) | |
tree | eeafa54da1f26816085bc1770cd97b4459fdc005 /tst/test_listen.py | |
parent | a8dc08a11182632ad6fb93af95958c95a09195bd (diff) | |
download | scadere-e638ca3f5062f592e796fae33391fb715dbf0c9e.tar.gz |
Include queries in atom:id and atom:link[@rel=self]
Diffstat (limited to 'tst/test_listen.py')
-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: |