mirror of
https://github.com/element-hq/synapse.git
synced 2026-05-24 17:25:22 +00:00
Fix incorrect return value in tests. (#11359)
This commit is contained in:
@@ -0,0 +1 @@
|
||||
Require all files in synapse/ and tests/ to pass mypy unless specifically excluded.
|
||||
@@ -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"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user