def test_pick_runner_command_empty(self): self.assertFalse(Runnable.pick_runner_command(self.kind, {}))
def test_pick_runner_command(self): runner = ['avocado-runner-lets-image-a-kind'] known = {'lets-image-a-kind': runner} self.assertEqual(Runnable.pick_runner_command(self.kind, known), runner)