summaryrefslogtreecommitdiff
path: root/tests/handlers/test_receipts.py
diff options
context:
space:
mode:
authorAndrej Shadura <andrewsh@debian.org>2021-10-05 19:23:18 +0200
committerAndrej Shadura <andrewsh@debian.org>2021-10-05 19:23:18 +0200
commit6b06932344e635f554420698ecd1954e31d0c6ea (patch)
tree19c800a7bbcafaf1e7c42b1ae78630c59181089a /tests/handlers/test_receipts.py
parent474afa181783f07658147efaad11fdc91c18a5df (diff)
New upstream version 1.44.0
Diffstat (limited to 'tests/handlers/test_receipts.py')
-rw-r--r--tests/handlers/test_receipts.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/handlers/test_receipts.py b/tests/handlers/test_receipts.py
index 732a12c9..5de89c87 100644
--- a/tests/handlers/test_receipts.py
+++ b/tests/handlers/test_receipts.py
@@ -23,7 +23,7 @@ from tests import unittest
class ReceiptsTestCase(unittest.HomeserverTestCase):
def prepare(self, reactor, clock, hs):
- self.event_source = hs.get_event_sources().sources["receipt"]
+ self.event_source = hs.get_event_sources().sources.receipt
# In the first param of _test_filters_hidden we use "hidden" instead of
# ReadReceiptEventFields.MSC2285_HIDDEN. We do this because we're mocking