From f1097e772042bf9bdfc3d5f71d1c37a4e13084da Mon Sep 17 00:00:00 2001 From: Zay11Zay Date: Tue, 14 Apr 2020 15:37:28 -0400 Subject: [PATCH] Fix the parameters of a test fixture (#7243) --- changelog.d/7243.misc | 1 + tests/rest/client/v1/test_events.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 changelog.d/7243.misc diff --git a/changelog.d/7243.misc b/changelog.d/7243.misc new file mode 100644 index 000000000..a39c257a5 --- /dev/null +++ b/changelog.d/7243.misc @@ -0,0 +1 @@ +Correct the parameters of a test fixture. Contributed by Isaiah Singletary. diff --git a/tests/rest/client/v1/test_events.py b/tests/rest/client/v1/test_events.py index ffb2de150..b54b06482 100644 --- a/tests/rest/client/v1/test_events.py +++ b/tests/rest/client/v1/test_events.py @@ -50,7 +50,7 @@ class EventStreamPermissionsTestCase(unittest.HomeserverTestCase): return hs - def prepare(self, hs, reactor, clock): + def prepare(self, reactor, clock, hs): # register an account self.user_id = self.register_user("sid1", "pass")