mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-30 06:49:24 +01:00
Fixed all current failures in the no-plugins test cases.
This commit is contained in:
parent
59d563f38a
commit
2beb507554
@ -324,6 +324,7 @@ class UsersDBTestCase(IrcdbTestCase):
|
|||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
self.users = ircdb.UsersDB(self.filename)
|
self.users = ircdb.UsersDB(self.filename)
|
||||||
|
IrcdbTestCase.setUp(self)
|
||||||
|
|
||||||
def testIterAndNumUsers(self):
|
def testIterAndNumUsers(self):
|
||||||
self.assertEqual(self.users.numUsers(), 0)
|
self.assertEqual(self.users.numUsers(), 0)
|
||||||
@ -388,6 +389,7 @@ class CheckCapabilityTestCase(IrcdbTestCase):
|
|||||||
channelanticap = ircdb.IrcChannel()
|
channelanticap = ircdb.IrcChannel()
|
||||||
channelanticap.addCapability(anticap)
|
channelanticap.addCapability(anticap)
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
|
IrcdbTestCase.setUp(self)
|
||||||
try:
|
try:
|
||||||
os.remove(self.filename)
|
os.remove(self.filename)
|
||||||
except:
|
except:
|
||||||
|
Loading…
Reference in New Issue
Block a user