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