示例#1
0
 def test_chain_other_appends_to_handlers(self):
     h = handler.handler()
     h.chain_other("foo")
     self.assertEqual(["foo"], h.handlers)
示例#2
0
 def test_chain_other_returns_param(self):
     h = handler.handler()
     self.assertEqual("foo", h.chain_other("foo"))