summary refs log tree commit diff
path: root/tests/utils.py
diff options
context:
space:
mode:
authorRichard van der Hoff <github@rvanderhoff.org.uk>2016-07-26 16:57:53 +0100
committerGitHub <noreply@github.com>2016-07-26 16:57:53 +0100
commit2452611d0f0163e7b9c531b48fce11a6dc7e1537 (patch)
treed2067b5f2fbfcc69f7303c3fa567082a5d9469b6 /tests/utils.py
parentFix typo (diff)
parentAdd `create_requester` function (diff)
downloadsynapse-2452611d0f0163e7b9c531b48fce11a6dc7e1537.tar.xz
Merge pull request #953 from matrix-org/rav/requester
Add `create_requester` function
Diffstat (limited to 'tests/utils.py')
-rw-r--r--tests/utils.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/utils.py b/tests/utils.py
index ed547bc39b..915b934e94 100644
--- a/tests/utils.py
+++ b/tests/utils.py
@@ -20,7 +20,6 @@ from synapse.storage.prepare_database import prepare_database
 from synapse.storage.engines import create_engine
 from synapse.server import HomeServer
 from synapse.federation.transport import server
-from synapse.types import Requester
 from synapse.util.ratelimitutils import FederationRateLimiter
 
 from synapse.util.logcontext import LoggingContext
@@ -512,7 +511,3 @@ class DeferredMockCallable(object):
                     "call(%s)" % _format_call(c[0], c[1]) for c in calls
                 ])
             )
-
-
-def requester_for_user(user):
-    return Requester(user, None, False)