def test_argprepender(self): class Wrapped(object): def callme(self, project, client, execution, param1): return (project, client, execution, param1) execution = ArgPrepender(Wrapped(), "aproject", "aclient", "anexecution") self.assertEqual(execution.callme("woo"), ("aproject", "aclient", "anexecution", "woo"))
def test_argprepender(self) : class Wrapped(object) : def callme(self, project, client, execution, param1) : return (project, client, execution, param1) execution = ArgPrepender(Wrapped(), "aproject", "aclient", "anexecution") self.assertEqual( execution.callme("woo"), ("aproject", "aclient", "anexecution","woo"))