mirror of
https://github.com/progval/irctest.git
synced 2025-04-06 07:19:54 +00:00
compatibility with #1248
This commit is contained in:
@ -274,7 +274,8 @@ class LabeledResponsesTestCase(cases.BaseServerTestCase, cases.OptionalityHelper
|
|||||||
ms = self.getMessages(1)
|
ms = self.getMessages(1)
|
||||||
self.assertEqual(len(ms), 1)
|
self.assertEqual(len(ms), 1)
|
||||||
m = ms[0]
|
m = ms[0]
|
||||||
self.assertMessageEqual(m, command='PONG', params=['adhoctestline'])
|
self.assertEqual(m.command, 'PONG')
|
||||||
|
self.assertEqual(m.params[-1], 'adhoctestline')
|
||||||
# check the label
|
# check the label
|
||||||
self.assertEqual(m.tags.get('label'), '98765')
|
self.assertEqual(m.tags.get('label'), '98765')
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user