mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-06-19 10:04:06 -04:00
[pyupgrade] tests/
(#10347)
This commit is contained in:
parent
879d8c1ee1
commit
89cfc3dd98
20 changed files with 45 additions and 58 deletions
|
@ -45,11 +45,7 @@ class ProfileStoreTestCase(unittest.HomeserverTestCase):
|
|||
)
|
||||
|
||||
self.assertIsNone(
|
||||
(
|
||||
self.get_success(
|
||||
self.store.get_profile_displayname(self.u_frank.localpart)
|
||||
)
|
||||
)
|
||||
self.get_success(self.store.get_profile_displayname(self.u_frank.localpart))
|
||||
)
|
||||
|
||||
def test_avatar_url(self):
|
||||
|
@ -76,9 +72,5 @@ class ProfileStoreTestCase(unittest.HomeserverTestCase):
|
|||
)
|
||||
|
||||
self.assertIsNone(
|
||||
(
|
||||
self.get_success(
|
||||
self.store.get_profile_avatar_url(self.u_frank.localpart)
|
||||
)
|
||||
)
|
||||
self.get_success(self.store.get_profile_avatar_url(self.u_frank.localpart))
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue