diff --git a/kayobe/tests/unit/test_ansible.py b/kayobe/tests/unit/test_ansible.py index 574fe252c..8903ec7d6 100644 --- a/kayobe/tests/unit/test_ansible.py +++ b/kayobe/tests/unit/test_ansible.py @@ -151,7 +151,7 @@ class TestCase(unittest.TestCase): parsed_args = parser.parse_args([]) mock_run.side_effect = subprocess.CalledProcessError(1, "dummy") self.assertRaises(SystemExit, - ansible.run_playbooks, parsed_args, "command") + ansible.run_playbooks, parsed_args, ["command"]) @mock.patch.object(shutil, 'rmtree') @mock.patch.object(utils, 'read_yaml_file')