aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_filt.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_filt.py')
-rw-r--r--test/test_filt.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/test_filt.py b/test/test_filt.py
index 2421c327..1cea34c4 100644
--- a/test/test_filt.py
+++ b/test/test_filt.py
@@ -195,6 +195,12 @@ class TestMatching:
q.request.method = "oink"
assert not self.q("~m get", q)
+ def test_domain(self):
+ q = self.req()
+ s = self.resp()
+ assert self.q("~d host", q)
+ assert not self.q("~d none", q)
+
def test_url(self):
q = self.req()
s = self.resp()