Skip to content
Snippets Groups Projects
Unverified Commit 319dcb95 authored by Patrick Cloke's avatar Patrick Cloke Committed by GitHub
Browse files

Fix incorrect return value in tests. (#11359)

parent 0caf2088
No related branches found
No related tags found
No related merge requests found
Require all files in synapse/ and tests/ to pass mypy unless specifically excluded.
...@@ -33,7 +33,7 @@ def fake_listdir(filepath: str) -> List[str]: ...@@ -33,7 +33,7 @@ def fake_listdir(filepath: str) -> List[str]:
A list of files and folders in the directory. A list of files and folders in the directory.
""" """
if filepath.endswith("full_schemas"): if filepath.endswith("full_schemas"):
return [SCHEMA_VERSION] return [str(SCHEMA_VERSION)]
return ["99_add_unicorn_to_database.sql"] return ["99_add_unicorn_to_database.sql"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment