Changeset 96d2ab32 in sasview for sansdataloader
- Timestamp:
- Nov 23, 2011 4:02:04 PM (13 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 86e2f5a
- Parents:
- 9e338ca
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansdataloader/test/utest_abs_reader.py
rca3b9c5d r96d2ab32 16 16 self.data = Reader().read("jan08002.ABS") 17 17 18 def test_ checkdata(self):18 def test_abs_checkdata(self): 19 19 """ 20 20 Check the data content to see whether … … 65 65 self.data = Loader().load("S2-30dq.d1d") 66 66 67 def test_ checkdata(self):67 def test_hfir_checkdata(self): 68 68 """ 69 69 Check the data content to see whether … … 88 88 self.data = Loader().load("MAR07232_rest.ASC") 89 89 90 def test_ checkdata(self):90 def test_igor_checkdata(self): 91 91 """ 92 92 Check the data content to see whether … … 121 121 122 122 def setUp(self): 123 self.data = Loader().load("MP_New.sans") 124 125 def test_checkdata(self): 123 #self.data = Loader().load("MP_New.sans") 124 from sans.dataloader.readers.danse_reader import Reader as r 125 self.data = r().read("MP_New.sans") 126 def test_danse_checkdata(self): 126 127 """ 127 128 Check the data content to see whether … … 161 162 self.data = Loader().load("cansas1d.xml") 162 163 163 def test_c heckdata(self):164 def test_cansas_checkdata(self): 164 165 self.assertEqual(self.data.filename, "cansas1d.xml") 165 166 self._checkdata() … … 380 381 381 382 if __name__ == '__main__': 382 import logging 383 logging.basicConfig(level=logging.INFO, 384 format='%(asctime)s %(levelname)s %(message)s', 385 filename='utest_abs_reader.log', 386 filemode='w') 387 unittest.main() 388 383 unittest.main(testRunner=unittest.TextTestRunner(verbosity=2))
Note: See TracChangeset
for help on using the changeset viewer.