mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-04 23:15:02 -04:00
Convert internal pusher dicts to attrs classes. (#8940)
This improves type hinting and should use less memory.
This commit is contained in:
parent
7a332850e6
commit
bd30cfe86a
17 changed files with 266 additions and 204 deletions
|
@ -766,7 +766,7 @@ class UserRestTestCase(unittest.HomeserverTestCase):
|
|||
)
|
||||
pushers = list(pushers)
|
||||
self.assertEqual(len(pushers), 1)
|
||||
self.assertEqual("@bob:test", pushers[0]["user_name"])
|
||||
self.assertEqual("@bob:test", pushers[0].user_name)
|
||||
|
||||
@override_config(
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue