mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-10-08 12:58:24 -04:00
Incorporate review
This commit is contained in:
parent
5598445655
commit
988d8d6507
7 changed files with 21 additions and 15 deletions
|
@ -860,7 +860,7 @@ class RoomMessageListTestCase(RoomBase):
|
|||
content={
|
||||
"msgtype": "m.text",
|
||||
"body": "with right label",
|
||||
EventContentFields.Labels: ["#fun"],
|
||||
EventContentFields.LABELS: ["#fun"],
|
||||
},
|
||||
)
|
||||
|
||||
|
@ -876,7 +876,7 @@ class RoomMessageListTestCase(RoomBase):
|
|||
content={
|
||||
"msgtype": "m.text",
|
||||
"body": "with wrong label",
|
||||
EventContentFields.Labels: ["#work"],
|
||||
EventContentFields.LABELS: ["#work"],
|
||||
},
|
||||
)
|
||||
|
||||
|
@ -886,7 +886,7 @@ class RoomMessageListTestCase(RoomBase):
|
|||
content={
|
||||
"msgtype": "m.text",
|
||||
"body": "with two wrong labels",
|
||||
EventContentFields.Labels: ["#work", "#notfun"],
|
||||
EventContentFields.LABELS: ["#work", "#notfun"],
|
||||
},
|
||||
)
|
||||
|
||||
|
@ -896,7 +896,7 @@ class RoomMessageListTestCase(RoomBase):
|
|||
content={
|
||||
"msgtype": "m.text",
|
||||
"body": "with right label",
|
||||
EventContentFields.Labels: ["#fun"],
|
||||
EventContentFields.LABELS: ["#fun"],
|
||||
},
|
||||
)
|
||||
|
||||
|
|
|
@ -157,7 +157,7 @@ class SyncFilterTestCase(unittest.HomeserverTestCase):
|
|||
content={
|
||||
"msgtype": "m.text",
|
||||
"body": "with right label",
|
||||
EventContentFields.Labels: ["#fun"],
|
||||
EventContentFields.LABELS: ["#fun"],
|
||||
},
|
||||
tok=tok,
|
||||
)
|
||||
|
@ -175,7 +175,7 @@ class SyncFilterTestCase(unittest.HomeserverTestCase):
|
|||
content={
|
||||
"msgtype": "m.text",
|
||||
"body": "with wrong label",
|
||||
EventContentFields.Labels: ["#work"],
|
||||
EventContentFields.LABELS: ["#work"],
|
||||
},
|
||||
tok=tok,
|
||||
)
|
||||
|
@ -186,7 +186,7 @@ class SyncFilterTestCase(unittest.HomeserverTestCase):
|
|||
content={
|
||||
"msgtype": "m.text",
|
||||
"body": "with two wrong labels",
|
||||
EventContentFields.Labels: ["#work", "#notfun"],
|
||||
EventContentFields.LABELS: ["#work", "#notfun"],
|
||||
},
|
||||
tok=tok,
|
||||
)
|
||||
|
@ -197,7 +197,7 @@ class SyncFilterTestCase(unittest.HomeserverTestCase):
|
|||
content={
|
||||
"msgtype": "m.text",
|
||||
"body": "with right label",
|
||||
EventContentFields.Labels: ["#fun"],
|
||||
EventContentFields.LABELS: ["#fun"],
|
||||
},
|
||||
tok=tok,
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue