Fixed all current failures in the no-plugins test cases.

This commit is contained in:
Jeremy Fincher 2004-01-31 06:47:36 +00:00
parent 59d563f38a
commit 2beb507554

View File

@ -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: