From ea3f93bed5b41867b4c1acc72ed390c1aad77bbf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Nasiadka?= Date: Fri, 6 Sep 2024 16:32:18 +0200 Subject: [PATCH] Update test_utils.py to match 2024.1 --- kayobe/tests/unit/test_utils.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/kayobe/tests/unit/test_utils.py b/kayobe/tests/unit/test_utils.py index 32068c290..dbd057486 100644 --- a/kayobe/tests/unit/test_utils.py +++ b/kayobe/tests/unit/test_utils.py @@ -52,8 +52,7 @@ def test_galaxy_collection_install(self, mock_read, mock_run): "install", "--collections-path", "/path/to/collections", "--requirements-file", - "/path/to/collection/file"], - env=env) + "/path/to/collection/file"]) @mock.patch.object(utils, "run_command") @mock.patch.object(utils, "read_yaml_file") @@ -82,8 +81,7 @@ def test_galaxy_collection_no_collections(self, mock_read, mock_run): "install", "--collections-path", "/path/to/collections", "--requirements-file", - "/path/to/collection/file"], - env=env) + "/path/to/collection/file"]) @mock.patch.object(utils, "run_command") @mock.patch.object(utils, "read_yaml_file")