Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/w/s/wsnserver-HEAD/DataRepositoryTest.py   wsnserver(Download)
    def testRemoveAllData(self):
        dr = DataRepository.DataRepository()
        dr.removeAllData()
        self.assertEqual(0, len(dr.readAllData("wsn01")),
                         "RemoveAllData failed")
    def tearDown(self):
        dr = DataRepository.DataRepository()
        dr.removeAllData()
        dr.removeAllCMD()
        dr.removeAllDevices()