mirror of
https://github.com/matrix-org/synapse.git
synced 2026-05-13 08:26:27 +02:00
fix pep8
This commit is contained in:
parent
12545a80e7
commit
aa70b0afb1
@ -987,10 +987,11 @@ class RoomInitialSyncTestCase(RestTestCase):
|
||||
|
||||
self.assertTrue("presence" in response)
|
||||
|
||||
presence_by_user = {
|
||||
e["content"]["user_id"]: e for e in response["presence"]
|
||||
}
|
||||
# presence is turned off on hotfixes
|
||||
|
||||
# presence_by_user = {
|
||||
# e["content"]["user_id"]: e for e in response["presence"]
|
||||
# }
|
||||
# self.assertTrue(self.user_id in presence_by_user)
|
||||
# self.assertEquals("m.presence", presence_by_user[self.user_id]["type"])
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user