From 6372dff771413c2b9cd5648cbb6de01a679ef801 Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Fri, 4 May 2018 01:58:45 +0100 Subject: remove create_profile from tests --- tests/handlers/test_profile.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'tests/handlers/test_profile.py') diff --git a/tests/handlers/test_profile.py b/tests/handlers/test_profile.py index 8646c4e434..b898f9dc27 100644 --- a/tests/handlers/test_profile.py +++ b/tests/handlers/test_profile.py @@ -68,8 +68,6 @@ class ProfileTestCase(unittest.TestCase): self.bob = UserID.from_string("@4567:test") self.alice = UserID.from_string("@alice:remote") - yield self.store.create_profile(self.frank.localpart) - self.handler = hs.get_profile_handler() @defer.inlineCallbacks -- cgit 1.5.1 From 0783801659d276304bcc2f47379370a0326f7a94 Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Fri, 4 May 2018 02:18:01 +0100 Subject: unbreak tests --- tests/handlers/test_profile.py | 1 - 1 file changed, 1 deletion(-) (limited to 'tests/handlers/test_profile.py') diff --git a/tests/handlers/test_profile.py b/tests/handlers/test_profile.py index b898f9dc27..b2fd4b9af9 100644 --- a/tests/handlers/test_profile.py +++ b/tests/handlers/test_profile.py @@ -121,7 +121,6 @@ class ProfileTestCase(unittest.TestCase): @defer.inlineCallbacks def test_incoming_fed_query(self): - yield self.store.create_profile("caroline") yield self.store.set_profile_displayname("caroline", "Caroline", 1) response = yield self.query_handlers["profile"]( -- cgit 1.5.1