mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-19 08:59:27 +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:
|
||||
pass
|
||||
self.users = ircdb.UsersDB(self.filename)
|
||||
IrcdbTestCase.setUp(self)
|
||||
|
||||
def testIterAndNumUsers(self):
|
||||
self.assertEqual(self.users.numUsers(), 0)
|
||||
@ -388,6 +389,7 @@ class CheckCapabilityTestCase(IrcdbTestCase):
|
||||
channelanticap = ircdb.IrcChannel()
|
||||
channelanticap.addCapability(anticap)
|
||||
def setUp(self):
|
||||
IrcdbTestCase.setUp(self)
|
||||
try:
|
||||
os.remove(self.filename)
|
||||
except:
|
||||
|
Loading…
Reference in New Issue
Block a user