diff --git a/openeo_driver/util/http.py b/openeo_driver/util/http.py index d0892be5..663ec5e4 100644 --- a/openeo_driver/util/http.py +++ b/openeo_driver/util/http.py @@ -1,6 +1,7 @@ +import base64 import json from typing import Set, Union -import base64 + import requests import requests.adapters diff --git a/tests/util/test_http.py b/tests/util/test_http.py index 5add0a16..c1c586f9 100644 --- a/tests/util/test_http.py +++ b/tests/util/test_http.py @@ -5,7 +5,7 @@ import requests.exceptions from re_assert import Matches -from openeo_driver.util.http import requests_with_retry, UrlSafeStructCodec +from openeo_driver.util.http import UrlSafeStructCodec, requests_with_retry def test_requests_with_retry(caplog): @@ -67,5 +67,3 @@ def test_basic(self, data): assert isinstance(encoded, str) assert re.fullmatch("[a-zA-Z0-9_/=-]+", encoded) assert codec.decode(encoded) == data - - import regex