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

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

src/w/s/wsnserver-HEAD/DataRepositoryTest.py   wsnserver(Download)
    def testSaveDevice(self):
        dr = DataRepository.DataRepository()
        dr.saveDevice("wsn01", "0x123AC", "5")
 
    def testReadDeviceList(self):
        dr = DataRepository.DataRepository()
        dr.saveDevice("wsn01", "0x123AC", "5")
        dr.saveDevice("wsn02", "0x124BC", "6")