Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Fix incorrect return value in tests. (#11359)
Browse files Browse the repository at this point in the history
  • Loading branch information
clokep authored Nov 16, 2021
1 parent 0caf208 commit 319dcb9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.d/11359.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Require all files in synapse/ and tests/ to pass mypy unless specifically excluded.
2 changes: 1 addition & 1 deletion tests/storage/test_rollback_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def fake_listdir(filepath: str) -> List[str]:
A list of files and folders in the directory.
"""
if filepath.endswith("full_schemas"):
return [SCHEMA_VERSION]
return [str(SCHEMA_VERSION)]

return ["99_add_unicorn_to_database.sql"]

Expand Down

0 comments on commit 319dcb9

Please sign in to comment.