Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / common / extensions / docs / server2 / handler_test.py
blob34dd2b1d28432ce9364f811beb32947e3cc9d3ec
1 #!/usr/bin/env python
2 # Copyright 2013 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
6 import unittest
8 from handler import Handler
9 from servlet import Request
11 class HandlerTest(unittest.TestCase):
13 def testInvalid(self):
14 handler = Handler(Request.ForTest('_notreal'))
15 self.assertEqual(404, handler.Get().status)
17 if __name__ == '__main__':
18 unittest.main()