mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-24 11:04:05 +01:00
Config: Fix test failure when another test set this value before.
This commit is contained in:
parent
c1ae3f5c81
commit
633eea0730
@ -216,7 +216,11 @@ class ConfigTestCase(ChannelPluginTestCase):
|
|||||||
|
|
||||||
# Inherit from global value (nothing was set of current net or current
|
# Inherit from global value (nothing was set of current net or current
|
||||||
# chan):
|
# chan):
|
||||||
|
(old_channel, self.channel) = (self.channel, '#iejofjfozifk')
|
||||||
|
try:
|
||||||
self.assertResponse('config channel reply.whenAddressedBy.strings', '^')
|
self.assertResponse('config channel reply.whenAddressedBy.strings', '^')
|
||||||
|
finally:
|
||||||
|
self.channel = old_channel
|
||||||
|
|
||||||
# Still exact match for #2:
|
# Still exact match for #2:
|
||||||
self.assertResponse('config channel #testchan1 reply.whenAddressedBy.strings', '@')
|
self.assertResponse('config channel #testchan1 reply.whenAddressedBy.strings', '@')
|
||||||
|
Loading…
Reference in New Issue
Block a user