コード例 #1
0
 def test_method_with_name(self,out):
     filter = Echo('echo',['workbook'])
     filter.method('name','foo',1)
     compare(out.getvalue(),"'echo' name:('foo', 1)\n")
コード例 #2
0
 def test_method(self,out):
     filter = Echo(methods=['workbook'])
     filter.method('name','foo',1)
     compare(out.getvalue(),"name:('foo', 1)\n")