def test_chain_other_appends_to_handlers(self): h = handler.handler() h.chain_other("foo") self.assertEqual(["foo"], h.handlers)
def test_chain_other_returns_param(self): h = handler.handler() self.assertEqual("foo", h.chain_other("foo"))