diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2021-11-16 11:36:46 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-16 16:36:46 +0000 |
commit | 319dcb955ea2f8ecab4ad3924d0e2e1222ef89f7 (patch) | |
tree | 127cfd0d7caa5b984039d64480dacaf07873cb09 | |
parent | Merge tag 'v1.47.0rc3' into develop (diff) | |
download | synapse-319dcb955ea2f8ecab4ad3924d0e2e1222ef89f7.tar.xz |
Fix incorrect return value in tests. (#11359)
-rw-r--r-- | changelog.d/11359.misc | 1 | ||||
-rw-r--r-- | tests/storage/test_rollback_worker.py | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/changelog.d/11359.misc b/changelog.d/11359.misc new file mode 100644 index 0000000000..4720519cbc --- /dev/null +++ b/changelog.d/11359.misc @@ -0,0 +1 @@ +Require all files in synapse/ and tests/ to pass mypy unless specifically excluded. diff --git a/tests/storage/test_rollback_worker.py b/tests/storage/test_rollback_worker.py index 0ce0892165..cfc8098af6 100644 --- a/tests/storage/test_rollback_worker.py +++ b/tests/storage/test_rollback_worker.py @@ -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"] |