diff options
author | Mark Haines <mjark@negativecurvature.net> | 2015-12-01 16:11:03 +0000 |
---|---|---|
committer | Mark Haines <mjark@negativecurvature.net> | 2015-12-01 16:11:03 +0000 |
commit | af96c6f4d31ee69a278ff3d7c7bf0be198141694 (patch) | |
tree | 65cf80f9305f0170e7cad6264144349a5319c62c /tests/handlers/test_presence.py | |
parent | Merge pull request #402 from matrix-org/markjh/event_formatting (diff) | |
parent | rename the method in the tests as well (diff) | |
download | synapse-af96c6f4d31ee69a278ff3d7c7bf0be198141694.tar.xz |
Merge pull request #404 from matrix-org/markjh/trivial_rename
Rename presence_handler.send_invite
Diffstat (limited to 'tests/handlers/test_presence.py')
-rw-r--r-- | tests/handlers/test_presence.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/handlers/test_presence.py b/tests/handlers/test_presence.py index 1172ceae8b..c42b5b80d7 100644 --- a/tests/handlers/test_presence.py +++ b/tests/handlers/test_presence.py @@ -365,7 +365,7 @@ class PresenceInvitesTestCase(PresenceTestCase): # TODO(paul): This test will likely break if/when real auth permissions # are added; for now the HS will always accept any invite - yield self.handler.send_invite( + yield self.handler.send_presence_invite( observer_user=self.u_apple, observed_user=self.u_banana) self.assertEquals( @@ -384,7 +384,7 @@ class PresenceInvitesTestCase(PresenceTestCase): @defer.inlineCallbacks def test_invite_local_nonexistant(self): - yield self.handler.send_invite( + yield self.handler.send_presence_invite( observer_user=self.u_apple, observed_user=self.u_durian) self.assertEquals( @@ -414,7 +414,7 @@ class PresenceInvitesTestCase(PresenceTestCase): defer.succeed((200, "OK")) ) - yield self.handler.send_invite( + yield self.handler.send_presence_invite( observer_user=self.u_apple, observed_user=u_rocket) self.assertEquals( |