Merge pull request #1607 from lnbits/f-strings

small followup to #1597
This commit is contained in:
Pavol Rusnak 2023-04-03 17:59:50 +02:00 committed by GitHub
commit 3855cf47f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -109,9 +109,7 @@ async def test_get_extensions_no_user(client):
# response = await client.get(
# "extensions", params={"usr": to_user.id, "enable": "lnurlp"}
# )
# assert response.status_code == 200, (
# f"{response.url} {response.status_code}"
# )
# assert response.status_code == 200, f"{response.url} {response.status_code}"
# check GET /extensions: enable and disable extensions, expect code 400 bad request
@ -121,9 +119,7 @@ async def test_get_extensions_no_user(client):
# "extensions",
# params={"usr": to_user.id, "enable": "lnurlp", "disable": "lnurlp"},
# )
# assert response.status_code == 400, (
# f"{response.url} {response.status_code}"
# )
# assert response.status_code == 400, f"{response.url} {response.status_code}"
# check GET /extensions: enable nonexistent extension, expect code 400 bad request