summary refs log tree commit diff
path: root/tests/storage
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2021-11-16 11:36:46 -0500
committerGitHub <noreply@github.com>2021-11-16 16:36:46 +0000
commit319dcb955ea2f8ecab4ad3924d0e2e1222ef89f7 (patch)
tree127cfd0d7caa5b984039d64480dacaf07873cb09 /tests/storage
parentMerge tag 'v1.47.0rc3' into develop (diff)
downloadsynapse-319dcb955ea2f8ecab4ad3924d0e2e1222ef89f7.tar.xz
Fix incorrect return value in tests. (#11359)
Diffstat (limited to 'tests/storage')
-rw-r--r--tests/storage/test_rollback_worker.py2
1 files changed, 1 insertions, 1 deletions
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"]