Example #1
0
 def test_readFromObj_data_nonexistant_data(self):
     with assert_raises(WSFileError):
         Data(datafile='this_is_not_a_file.lst')
Example #2
0
 def test_read_mismatched_files(self):
     with assert_raises(WSFileError):
         Data(datafile=datafile_mistmatch, listfile=WS_test_list)
Example #3
0
 def setUpClass(cls):
     cls.data = Data(datafile=MARE2DEM_test_data,
                     listfile=MARE2DEM_test_list)
     cls.data.write(outfile_MARE2DEM)
     cls.data2 = Data(datafile=outfile_MARE2DEM,
                      listfile=MARE2DEM_test_list)
Example #4
0
 def setUpClass(cls):
     cls.data = Data(datafile=MARE2DEM_test_data,
                     listfile=MARE2DEM_test_list)
Example #5
0
 def setUpClass(cls):
     cls.data = Data(datafile=WS_data_file, listfile=WS_test_list)
Example #6
0
 def setUpClass(cls):
     cls.data = Data(datafile=WS_data_file, listfile=WS_test_list)
     cls.data.write(outfile_WS)
     cls.data2 = Data(datafile=outfile_WS, listfile=WS_test_list)
Example #7
0
 def setUpClass(cls):
     cls.data = Data()