mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-18 17:10:43 +03:00
remove create_profile from tests
This commit is contained in:
parent
b3e346f40c
commit
6372dff771
2 changed files with 0 additions and 10 deletions
|
@ -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
|
||||
|
|
|
@ -35,10 +35,6 @@ class ProfileStoreTestCase(unittest.TestCase):
|
|||
|
||||
@defer.inlineCallbacks
|
||||
def test_displayname(self):
|
||||
yield self.store.create_profile(
|
||||
self.u_frank.localpart
|
||||
)
|
||||
|
||||
yield self.store.set_profile_displayname(
|
||||
self.u_frank.localpart, "Frank", 1,
|
||||
)
|
||||
|
@ -50,10 +46,6 @@ class ProfileStoreTestCase(unittest.TestCase):
|
|||
|
||||
@defer.inlineCallbacks
|
||||
def test_avatar_url(self):
|
||||
yield self.store.create_profile(
|
||||
self.u_frank.localpart
|
||||
)
|
||||
|
||||
yield self.store.set_profile_avatar_url(
|
||||
self.u_frank.localpart, "http://my.site/here", 1,
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue