forked from s3lph/matemat
Added unit tests for pagelet and static resource serving.
This commit is contained in:
parent
0bfd4efab9
commit
3b2d8ffa93
1 changed files with 1 additions and 0 deletions
|
@ -90,6 +90,7 @@ class TestServe(AbstractHttpdTest):
|
|||
self.assertIsNone(packet.pagelet)
|
||||
# Make sure a 403 header is served
|
||||
self.assertEqual(403, packet.statuscode)
|
||||
self.assertNotEqual('This should not be readable', packet.body)
|
||||
|
||||
def test_serve_not_found(self):
|
||||
# Request a nonexistent resource
|
||||
|
|
Loading…
Reference in a new issue