@@ -0,0 +1,461 @@
+from pyger.base import AbstractRouter%0A%0A%0Aclass TestRouter(AbstractRouter):%0A    def connect(self, handler, **kwargs):%0A        pass%0A%0A    def _resolve(self, match_info, **kwargs):%0A        pass%0A%0A%0Adef test_base_router_exception_builder():%0A    default_exc_router = TestRouter(raises=Exception)%0A    exc = default_exc_router._build_exception(foo='bar', baz=2)%0A    assert exc._pyger == %7B%0A        'router': default_exc_router,%0A        'foo': 'bar',%0A        'baz': 2%0A    %7D%0A

test exception metadata builder