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