summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--test/test_static.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/test_static.py b/test/test_static.py
index 4bdd83ed..f9dcb7dd 100644
--- a/test/test_static.py
+++ b/test/test_static.py
@@ -40,6 +40,12 @@ class TestStatic(TestApplicationProto):
)
self.assertEqual(self.get(url='/')['body'], '0123456789', 'index 2')
self.assertEqual(
+ self.get(url='/?blah')['body'], '0123456789', 'index vars'
+ )
+ self.assertEqual(
+ self.get(url='/#blah')['body'], '0123456789', 'index anchor'
+ )
+ self.assertEqual(
self.get(url='/dir/')['status'], 404, 'index not found'
)