Esempio n. 1
0
    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))
Esempio n. 2
0
    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))
Esempio n. 3
0
    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))
Esempio n. 4
0
    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))