[pyupgrade] tests/ (#10347)

This commit is contained in:
Jonathan de Jong 2021-07-13 12:43:15 +02:00 committed by GitHub
parent 879d8c1ee1
commit 89cfc3dd98
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 45 additions and 58 deletions

View file

@ -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))
)