Fix incorrect return value in tests. (#11359)

code_spécifique_watcha
Patrick Cloke 3 years ago committed by GitHub
parent 0caf20883c
commit 319dcb955e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      changelog.d/11359.misc
  2. 2
      tests/storage/test_rollback_worker.py

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

Loading…
Cancel
Save