mirror of https://github.com/progval/irctest.git
fix chathistory spec violation in INVALID_TARGET
https://github.com/ergochat/ergo/issues/1731
This commit is contained in:
parent
9581ca0cf3
commit
4932d410e2
|
@ -70,7 +70,7 @@ class ChathistoryTestCase(cases.BaseServerTestCase):
|
||||||
self.assertMessageMatch(
|
self.assertMessageMatch(
|
||||||
self.getMessages(bar)[0],
|
self.getMessages(bar)[0],
|
||||||
command="FAIL",
|
command="FAIL",
|
||||||
params=["CHATHISTORY", "INVALID_TARGET", ANYSTR, ANYSTR],
|
params=["CHATHISTORY", "INVALID_TARGET", "LATEST", ANYSTR, ANYSTR],
|
||||||
)
|
)
|
||||||
|
|
||||||
# as should a real channel to which one is not joined:
|
# as should a real channel to which one is not joined:
|
||||||
|
@ -78,7 +78,7 @@ class ChathistoryTestCase(cases.BaseServerTestCase):
|
||||||
self.assertMessageMatch(
|
self.assertMessageMatch(
|
||||||
self.getMessages(bar)[0],
|
self.getMessages(bar)[0],
|
||||||
command="FAIL",
|
command="FAIL",
|
||||||
params=["CHATHISTORY", "INVALID_TARGET", ANYSTR, ANYSTR],
|
params=["CHATHISTORY", "INVALID_TARGET", "LATEST", ANYSTR, ANYSTR],
|
||||||
)
|
)
|
||||||
|
|
||||||
@cases.mark_specifications("Ergo")
|
@cases.mark_specifications("Ergo")
|
||||||
|
|
Loading…
Reference in New Issue