def test_initialization (self): b = Bologna.create(self.bologna_path) self.assertTrue(b.path == self.bologna_path) self.assertTrue(Bologna.exists(self.bologna_path)) # Test to make sure it removes itself properly Bologna.delete(self.bologna_path) self.assertTrue(not Bologna.exists(self.bologna_path))
def tearDown (self): if Bologna.exists(self.bologna_path): Bologna.delete(self.bologna_path)