Skip to content

Commit 5b9dffb

Browse files
committed
fixup! fixup! Fixturify _credentials_basic_handler
1 parent 95aa06a commit 5b9dffb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openeo/rest/auth/testing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ def get_request_history(
294294
def build_basic_auth_header(username: str, password: str) -> str:
295295
"""Generate basic auth header (per RFC 7617) from given username and password."""
296296
credentials = base64.b64encode(f"{username}:{password}".encode("utf-8")).decode("utf-8")
297-
return "Basic {credentials}"
297+
return f"Basic {credentials}"
298298

299299

300300
@dataclasses.dataclass(frozen=True)

0 commit comments

Comments
 (0)