Tests: more static tests.
This commit is contained in:
parent
47436e9be5
commit
1033cfa3b0
1 changed files with 6 additions and 0 deletions
|
@ -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'
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue