Skip to content

Commit 1596855

Browse files
committed
Make mypy happy
1 parent 7ac9e78 commit 1596855

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

tests/integration/test_key_value_store.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,8 @@ def test_record_public_url(self, api_token: str, api_url: str, api_public_url: s
107107
public_url = kvs.get_record_public_url(key='key')
108108
expected_signature = f'?signature={public_url.split("signature=")[1]}' if signing_key else ''
109109
assert public_url == (
110-
f'{(api_public_url or DEFAULT_API_URL).strip("/")}/v2/key-value-stores/someID/records/key{
111-
expected_signature
112-
}'
110+
f'{(api_public_url or DEFAULT_API_URL).strip("/")}/v2/key-value-stores/someID/'
111+
f'records/key{expected_signature}'
113112
)
114113

115114

@@ -189,7 +188,6 @@ async def test_public_url(self, api_token: str, api_url: str, api_public_url: st
189188
public_url = await kvs.get_record_public_url(key='key')
190189
expected_signature = f'?signature={public_url.split("signature=")[1]}' if signing_key else ''
191190
assert public_url == (
192-
f'{(api_public_url or DEFAULT_API_URL).strip("/")}/v2/key-value-stores/someID/records/key{
193-
expected_signature
194-
}'
191+
f'{(api_public_url or DEFAULT_API_URL).strip("/")}/v2/key-value-stores/someID/'
192+
f'records/key{expected_signature}'
195193
)

0 commit comments

Comments
 (0)