Skip to content

Commit 8ac52aa

Browse files
committed
Patch new LegacyApiClient class instead of old client
1 parent c506b2e commit 8ac52aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_fetch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def test_init(mockpatch):
134134
)
135135

136136

137-
@mock.patch("cdsapi.Client", autospec=True)
137+
@mock.patch("cads_api_client.legacy_api_client.LegacyApiClient", autospec=True)
138138
@mock.patch("era5cli.utils.append_history", autospec=True)
139139
def test_fetch_nodryrun(cds, era5cli_utilsappend_history):
140140
"""Test fetch function of Fetch class."""

0 commit comments

Comments
 (0)