mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-24 07:59:25 -05:00
Fix incorrect return value in tests. (#11359)
This commit is contained in:
parent
0caf20883c
commit
319dcb955e
1
changelog.d/11359.misc
Normal file
1
changelog.d/11359.misc
Normal file
@ -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.
|
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"]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user