chore: add pre-commit

This commit is contained in:
2024-08-04 19:02:10 +01:00
parent ed973162b6
commit 14d7cecc55
12 changed files with 107 additions and 31 deletions

View File

@ -30,7 +30,7 @@ def test_error_false() -> None:
callback.text_bottom = "TEST"
result: Response = callback.execute(None, None, {"target": {"globalId": "TEST"}})
assert (
isinstance(result, Response) \
and result.roomId == "TEST" \
isinstance(result, Response)
and result.roomId == "TEST"
and result.files[0] == callback.meme_filename
)