def test1(self): global test_file hdf5file = test_file[:-4] + '.hdf5' hdf5file = os.path.join('data', hdf5file) rs = ['SCC_LogStreams'] daq = Daq() daq.read_hd5(hdf5file) ds = daq.match_keys('*logstream*') self.assertEqual(''.join(ds), ''.join(rs))
def test1(self): global test_file hdf5file = test_file[:-4]+'.hdf5' hdf5file = os.path.join('data', hdf5file) rs = ['SCC_LogStreams'] daq = Daq() daq.read_hd5(hdf5file) ds = daq.match_keys('*logstream*') self.assertEqual(''.join(ds), ''.join(rs))
def test0(self): global test_file hdf5file = test_file[:-4] + '.hdf5' hdf5file = os.path.join('data', hdf5file) rs = [ u'VDS_Veh_Dist', u'SCC_OwnVeh_PathDist', u'SCC_OwnVehToLeadObjDist' ] daq = Daq() daq.read_hd5(hdf5file) ds = daq.match_keys('*veh*dist*') self.assertEqual(''.join(ds), ''.join(rs))
def test0(self): global test_file hdf5file = test_file[:-4]+'.hdf5' hdf5file = os.path.join('data', hdf5file) rs = [u'VDS_Veh_Dist', u'SCC_OwnVeh_PathDist', u'SCC_OwnVehToLeadObjDist'] daq = Daq() daq.read_hd5(hdf5file) ds = daq.match_keys('*veh*dist*') self.assertEqual(''.join(ds), ''.join(rs))