mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-05 04:04:59 -04:00
Review comments
This commit is contained in:
parent
6d4e6d4cba
commit
c3d963ac24
2 changed files with 11 additions and 21 deletions
|
@ -272,7 +272,7 @@ class SerializeEventTestCase(unittest.TestCase):
|
|||
)
|
||||
|
||||
def test_event_fields_fail_if_fields_not_str(self):
|
||||
self.assertEquals(
|
||||
with self.assertRaises(TypeError):
|
||||
self.serialize(
|
||||
MockEvent(
|
||||
room_id="!foo:bar",
|
||||
|
@ -281,12 +281,4 @@ class SerializeEventTestCase(unittest.TestCase):
|
|||
},
|
||||
),
|
||||
["room_id", 4]
|
||||
),
|
||||
{
|
||||
"room_id": "!foo:bar",
|
||||
"content": {
|
||||
"foo": "bar",
|
||||
},
|
||||
"unsigned": {}
|
||||
}
|
||||
)
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue