示例#1
0
class BasicTestCase(unittest.TestCase):
    def setUp(self):
        self.sheila = Sheila("testdb", "test.cst")

    def tearDown(self):
        try:
            os.remove("test.cst")
        except OSError:
            pass
        self.sheila.destroy()
示例#2
0
 def setUp(self):
     self.sheila = Sheila("testdb", "test.cst")