Skip to content

Commit eac24fc

Browse files
geetu040PGijsbers
andauthored
Update tests/test_api/test_http.py
#1576 (comment) Co-authored-by: Pieter Gijsbers <p.gijsbers@tue.nl>
1 parent 77c21f2 commit eac24fc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_api/test_http.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def test_get_with_cache_creates_cache(http_client, cache, sample_url_v1, sample_
103103

104104
@pytest.mark.test_server()
105105
def test_get_uses_cached_response(http_client, cache, sample_url_v1, sample_path):
106-
key = cache.get_key(sample_url_v1, {})
106+
key = cache.get_key(sample_url_v1, params={})
107107
meta_path = cache._key_to_path(key) / "meta.json"
108108

109109
r1 = http_client.get(sample_path, enable_cache=True)

0 commit comments

Comments
 (0)