chore: ruff format

This commit is contained in:
Chris Coutinho
2025-06-06 19:11:31 +02:00
parent 5ee9435741
commit c1e3a6aeaa
3 changed files with 54 additions and 54 deletions
+9 -9
View File
@@ -99,9 +99,9 @@ async def test_note_with_embedded_image(
logger.error(
f"Attachment directory not found! PROPFIND failed with {e.response.status_code}"
)
assert (
False
), f"Expected attachment directory to exist, but PROPFIND failed with {e.response.status_code}"
assert False, (
f"Expected attachment directory to exist, but PROPFIND failed with {e.response.status_code}"
)
# 2. Update the note content to include the embedded image references
updated_content = f"""{note_data["content"]}
@@ -171,13 +171,13 @@ async def test_note_with_embedded_image(
logger.error(
f"Attachment directory still exists! PROPFIND returned {status}"
)
assert (
False
), f"Expected attachment directory to be gone, but PROPFIND returned {status}!"
assert False, (
f"Expected attachment directory to be gone, but PROPFIND returned {status}!"
)
except HTTPStatusError as e:
assert (
e.response.status_code == 404
), f"Expected PROPFIND to fail with 404, got {e.response.status_code}"
assert e.response.status_code == 404, (
f"Expected PROPFIND to fail with 404, got {e.response.status_code}"
)
logger.info(
"Verified attachment directory does not exist via PROPFIND (404 received)"
)