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.
8 from fake_fetchers
import ConfigureFakeFetchers
9 from handler
import Handler
10 from servlet
import Request
12 class HandlerTest(unittest
.TestCase
):
14 ConfigureFakeFetchers()
16 def testInvalid(self
):
17 handler
= Handler(Request
.ForTest('_notreal'))
19 self
.assertEqual(404, handler
.Get().status
)
21 if __name__
== '__main__':