about summary refs log tree commit diff
path: root/tst/test_listen.py
diff options
context:
space:
mode:
authorNguyễn Gia Phong <cnx@loang.net>2025-07-08 14:32:45 +0900
committerNguyễn Gia Phong <cnx@loang.net>2025-07-08 15:07:48 +0900
commite638ca3f5062f592e796fae33391fb715dbf0c9e (patch)
treeeeafa54da1f26816085bc1770cd97b4459fdc005 /tst/test_listen.py
parenta8dc08a11182632ad6fb93af95958c95a09195bd (diff)
downloadscadere-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.py3
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: