Esempio n. 1
0
 def test_removeAll(self):
     b = Bank('local')
     b.update()
     b.removeAll()
     self.assertFalse(os.path.exists(b.get_data_dir()))
     bdb = b.banks.find_one({'name': b.name})
     self.assertTrue(bdb is None)
Esempio n. 2
0
 def test_removeAll(self):
   b = Bank('local')
   b.update()
   b.removeAll()
   self.assertFalse(os.path.exists(b.get_data_dir()))
   bdb = b.banks.find_one({'name': b.name})
   self.assertTrue(bdb is None)