Incorporate review

This commit is contained in:
Brendan Abolivier 2019-11-01 16:22:44 +00:00
parent 5598445655
commit 988d8d6507
No known key found for this signature in database
GPG key ID: 1E015C145F1916CD
7 changed files with 21 additions and 15 deletions

View file

@ -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"],
},
)

View file

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