summary refs log tree commit diff
path: root/tests/unittest.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2021-04-29 16:41:04 +0100
committerErik Johnston <erik@matrix.org>2021-04-29 16:41:04 +0100
commit4a3a9597f500fe62a4ab4dd2af966ee704fbea02 (patch)
treeba0f7c76e176dc7c427798cca2fabc27f7af57e5 /tests/unittest.py
parentNewsfile (diff)
parentMerge tag 'v1.33.0rc2' into develop (diff)
downloadsynapse-4a3a9597f500fe62a4ab4dd2af966ee704fbea02.tar.xz
Merge remote-tracking branch 'origin/develop' into erikj/test_send
Diffstat (limited to 'tests/unittest.py')
-rw-r--r--tests/unittest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unittest.py b/tests/unittest.py

index 9bd02bd9c4..74db7c08f1 100644 --- a/tests/unittest.py +++ b/tests/unittest.py
@@ -18,6 +18,7 @@ import hashlib import hmac import inspect import logging +import secrets import time from typing import Callable, Dict, Iterable, Optional, Tuple, Type, TypeVar, Union from unittest.mock import Mock, patch @@ -626,7 +627,6 @@ class HomeserverTestCase(TestCase): str: The new event's ID. """ event_creator = self.hs.get_event_creation_handler() - secrets = self.hs.get_secrets() requester = create_requester(user) event, context = self.get_success(