From 1033cfa3b0255fb23ecd87cc0c4fb4ebb6fedff3 Mon Sep 17 00:00:00 2001 From: Andrey Zelenkov Date: Wed, 23 Oct 2019 16:59:53 +0300 Subject: Tests: more static tests. --- test/test_static.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'test/test_static.py') 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 @@ -39,6 +39,12 @@ class TestStatic(TestApplicationProto): self.get(url='/index.html')['body'], '0123456789', 'index' ) 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' ) -- cgit