mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-20 01:19:26 +01:00
Fixed xor test case.
This commit is contained in:
parent
6b72288bc2
commit
4bb8d6a479
@ -69,7 +69,10 @@ class FunCommandsTest(PluginTestCase, PluginDocumentation):
|
||||
self.assertResponse('unhexlify [hexlify %s]' % s, s)
|
||||
|
||||
def testXor(self):
|
||||
for s0, s1, s2, s3, s4, s5, s6, s7, s8, s9 in group(nicks, 10):
|
||||
L = [nick for nick in nicks if '|' not in nick and
|
||||
'[' not in nick and
|
||||
']' not in nick]
|
||||
for s0, s1, s2, s3, s4, s5, s6, s7, s8, s9 in group(L, 10):
|
||||
data = '%s%s%s%s%s%s%s%s%s' % (s0, s1, s2, s3, s4, s5, s6, s7, s8)
|
||||
self.assertResponse('xor %s [xor %s %s]' % (s9, s9, data), data)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user