Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/d/e/defend_against_fruit-HEAD/pypi_redirect/pypi_redirect/test/unit_tests/path_length_dispatcher_test.py   defend_against_fruit(Download)
from nose.tools import eq_
from ...server_app.handler._exception import HandlerException
from ...server_app.http.path_length_dispatcher import PathLengthDispatcher
from _utils import FunctionStub
 
 
        self.dispatcher = PathLengthDispatcher(
            handlers_indexed_by_path_length=self.normal_handlers,
            invalid_path_handler=self.exception_handler)