Changes in test/sasdataloader/test/utest_sesans.py [f4e2f22:f53d684] in sasview
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
test/sasdataloader/test/utest_sesans.py
rf4e2f22 rf53d684 25 25 Test .SES in the full loader to make sure that the file type is correctly accepted 26 26 """ 27 file = Loader().load(find("sesans_examples" + os.sep + 28 "sphere2micron.ses")) 27 file = Loader().load(find("sesans_examples/sphere2micron.ses")) 29 28 f = file[0] 30 29 # self.assertEqual(f, 5) … … 45 44 Test .SES loading on a TOF dataset 46 45 """ 47 file = self.loader(find("sesans_examples " + os.sep + "sphere_isis.ses"))46 file = self.loader(find("sesans_examples/sphere_isis.ses")) 48 47 f = file[0] 49 48 self.assertEqual(len(file), 1) … … 63 62 FileContentsException, 64 63 self.loader, 65 find("sesans_examples " + os.sep + "sesans_no_data.ses"))64 find("sesans_examples/sesans_no_data.ses")) 66 65 67 66 def test_sesans_no_spin_echo_unit(self): … … 72 71 FileContentsException, 73 72 self.loader, 74 find("sesans_examples " + os.sep + "no_spin_echo_unit.ses"))73 find("sesans_examples/no_spin_echo_unit.ses")) 75 74 76 75 def test_sesans_future_version(self): … … 81 80 FileContentsException, 82 81 self.loader, 83 find("sesans_examples " + os.sep + "next_gen.ses"))82 find("sesans_examples/next_gen.ses")) 84 83 85 84 def test_sesans_mandatory_headers(self): … … 90 89 FileContentsException, 91 90 self.loader, 92 find("sesans_examples " + os.sep + "no_wavelength.ses"))91 find("sesans_examples/no_wavelength.ses")) 93 92 94 93 def test_sesans_columns_match_headers(self): … … 99 98 FileContentsException, 100 99 self.loader, 101 find("sesans_examples " + os.sep + "too_many_headers.ses"))100 find("sesans_examples/too_many_headers.ses")) 102 101 103 102 if __name__ == "__main__":
Note: See TracChangeset
for help on using the changeset viewer.