def test_runnable_command_args(self):
     runnable = Runnable('noop', 'uri', 'arg1', 'arg2')
     actual_args = runnable.get_command_args()
     exp_args = ['-k', 'noop', '-u', 'uri', '-a', 'arg1', '-a', 'arg2']
     self.assertEqual(actual_args, exp_args)
Example #2
0
 def test_runnable_command_args(self):
     runnable = Runnable("noop", "uri", "arg1", "arg2")
     actual_args = runnable.get_command_args()
     exp_args = ["-k", "noop", "-u", "uri", "-a", "arg1", "-a", "arg2"]
     self.assertEqual(actual_args, exp_args)