1
0

Fix incorrect return value in tests. (#11359)

This commit is contained in:
Patrick Cloke
2021-11-16 11:36:46 -05:00
committed by GitHub
parent 0caf20883c
commit 319dcb955e
2 changed files with 2 additions and 1 deletions

1
changelog.d/11359.misc Normal file
View File

@@ -0,0 +1 @@
Require all files in synapse/ and tests/ to pass mypy unless specifically excluded.

View File

@@ -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"]