mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-25 04:02:46 +01:00
Fix some typos
This commit is contained in:
parent
fec6959acb
commit
e740953068
@ -36,7 +36,7 @@ class ServicesTestCase(PluginTestCase):
|
|||||||
config = {
|
config = {
|
||||||
'plugins.Services.NickServ': 'NickServ',
|
'plugins.Services.NickServ': 'NickServ',
|
||||||
'plugins.Services.ChanServ': 'ChanServ',
|
'plugins.Services.ChanServ': 'ChanServ',
|
||||||
}
|
}
|
||||||
|
|
||||||
def testPasswordAndIdentify(self):
|
def testPasswordAndIdentify(self):
|
||||||
self.assertNotError('services password foo bar')
|
self.assertNotError('services password foo bar')
|
||||||
@ -50,7 +50,7 @@ class ServicesTestCase(PluginTestCase):
|
|||||||
self.assertTrue(m.args[0] == 'NickServ')
|
self.assertTrue(m.args[0] == 'NickServ')
|
||||||
self.assertTrue(m.args[1].lower() == 'identify biff')
|
self.assertTrue(m.args[1].lower() == 'identify biff')
|
||||||
|
|
||||||
def testPasswordConfg(self):
|
def testPasswordConfig(self):
|
||||||
self.assertNotError('config plugins.Services.nicks ""')
|
self.assertNotError('config plugins.Services.nicks ""')
|
||||||
self.assertNotError('config network plugins.Services.nicks ""')
|
self.assertNotError('config network plugins.Services.nicks ""')
|
||||||
|
|
||||||
|
@ -95,7 +95,7 @@ def open_registry(filename, clear=False):
|
|||||||
# worse, the error will pass silently.
|
# worse, the error will pass silently.
|
||||||
#
|
#
|
||||||
# If the line ends in an odd number of backslashes, then there is a
|
# If the line ends in an odd number of backslashes, then there is a
|
||||||
# line-continutation.
|
# line-continuation.
|
||||||
m = slashEnd.search(line)
|
m = slashEnd.search(line)
|
||||||
if m and len(m.group(0)) % 2:
|
if m and len(m.group(0)) % 2:
|
||||||
acc += line[:-1]
|
acc += line[:-1]
|
||||||
|
@ -280,7 +280,7 @@ class PluginTestCase(SupyTestCase):
|
|||||||
|
|
||||||
def tearDown(self):
|
def tearDown(self):
|
||||||
if self.__class__ in (PluginTestCase, ChannelPluginTestCase):
|
if self.__class__ in (PluginTestCase, ChannelPluginTestCase):
|
||||||
# Necessary because there's a test in here that shouldn\'t run.
|
# Necessary because there's a test in here that shouldn't run.
|
||||||
return
|
return
|
||||||
for (group, original) in self.originals.items():
|
for (group, original) in self.originals.items():
|
||||||
group.setValue(original)
|
group.setValue(original)
|
||||||
|
Loading…
Reference in New Issue
Block a user