Am 7. Januar 2011 16:02 schrieb Iustin Pop <[email protected]>:
> On Fri, Jan 07, 2011 at 05:00:49PM +0100, Michael Hanselmann wrote:
>> --- a/test/ganeti.client.gnt_instance_unittest.py
>> +++ b/test/ganeti.client.gnt_instance_unittest.py
>> @@ -38,8 +38,8 @@ class TestConsole(unittest.TestCase):
>>      self._cmds = []
>>      self._next_cmd_exitcode = 0
>>
>> -  def _Test(self, *args):
>> -    return gnt_instance._DoConsole(*args,
>> +  def _Test(self, console, show_command, cluster_name):
>> +    return gnt_instance._DoConsole(console, show_command, cluster_name,
>>                                     feedback_fn=self._Feedback,
>>                                     _runcmd_fn=self._FakeRunCmd)
>
> Do you mean *args followed by named kwargs?

Yes, newer versions are fine with them.

Michael

Reply via email to