summary refs log tree commit diff
path: root/tests/storage/test_event_federation.py
diff options
context:
space:
mode:
authorAmber Brown <hawkowl@atleastfornow.net>2018-08-09 12:22:01 +1000
committerGitHub <noreply@github.com>2018-08-09 12:22:01 +1000
commit2511f3f8a082585e680dad200069dec77b066a6a (patch)
tree90212ffc4a723c50a537a3b1865d6468bebf431b /tests/storage/test_event_federation.py
parentMerge pull request #3664 from matrix-org/rav/federation_metrics (diff)
downloadsynapse-2511f3f8a082585e680dad200069dec77b066a6a.tar.xz
Test fixes for Python 3 (#3647)
Diffstat (limited to 'tests/storage/test_event_federation.py')
-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 30683e7888..69412c5aad 100644
--- a/tests/storage/test_event_federation.py
+++ b/tests/storage/test_event_federation.py
@@ -49,7 +49,7 @@ class EventFederationWorkerStoreTestCase(tests.unittest.TestCase):
                 'INSERT INTO event_reference_hashes '
                 '(event_id, algorithm, hash) '
                 "VALUES (?, 'sha256', ?)"
-            ), (event_id, 'ffff'))
+            ), (event_id, b'ffff'))
 
         for i in range(0, 11):
             yield self.store.runInteraction("insert", insert_event, i)