Skip to content

Commit b29d708

Browse files
committed
Fix CLI tests by changing config patch location
1 parent 5937066 commit b29d708

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/integration/test_cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def set_env_vars(monkeypatch):
8888
@pytest.fixture(scope="function", autouse=True)
8989
def apply_test_config():
9090
"""Apply default test config"""
91-
with patch("ghga_connector.cli.CONFIG", get_test_config()):
91+
with patch("ghga_connector.config.CONFIG", get_test_config()):
9292
yield
9393

9494

@@ -170,7 +170,7 @@ async def test_multipart_download(
170170
"""Test the multipart download of a file"""
171171
# override the default config fixture with updated part size
172172
monkeypatch.setattr(
173-
"ghga_connector.cli.CONFIG", get_test_config(part_size=part_size)
173+
"ghga_connector.config.CONFIG", get_test_config(part_size=part_size)
174174
)
175175

176176
big_object = await get_big_s3_object(s3_fixture, object_size=file_size)

0 commit comments

Comments
 (0)