summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-10-10 15:37:53 +0100
committerErik Johnston <erik@matrix.org>2019-10-10 15:37:53 +0100
commitbc244627ac759bbd4691a2a20ac16383b4c2348c (patch)
tree810580232ad1fbb8943dbb37870978d44b62ddbe
parentFix store_url_cache using bytes (diff)
downloadsynapse-bc244627ac759bbd4691a2a20ac16383b4c2348c.tar.xz
Fix postgres unit tests
Diffstat (limited to '')
-rw-r--r--tests/storage/test_event_federation.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/storage/test_event_federation.py b/tests/storage/test_event_federation.py
index b58386994e..2fe50377f8 100644
--- a/tests/storage/test_event_federation.py
+++ b/tests/storage/test_event_federation.py
@@ -57,7 +57,7 @@ class EventFederationWorkerStoreTestCase(tests.unittest.TestCase):
                     "(event_id, algorithm, hash) "
                     "VALUES (?, 'sha256', ?)"
                 ),
-                (event_id, b"ffff"),
+                (event_id, bytearray(b"ffff")),
             )
 
         for i in range(0, 11):