Changeset 96510c8 in sasview for DataLoader
- Timestamp:
- Jul 2, 2008 4:07:12 PM (16 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:
- 0fc05f9
- Parents:
- 9e85792
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
DataLoader/test/testLoad.py
rc125e0c r96510c8 9 9 from DataLoader.readers import TXT3_Reader,TXT2_Reader 10 10 from DataLoader.readers import IgorReader,danse_reader,tiff_reader 11 11 import os.path 12 12 class testLoader(unittest.TestCase): 13 13 """ test fitting """ … … 98 98 self.assertEqual(data.__class__,tiff_reader.ReaderInfo) 99 99 self.assertEqual(self.L.getAcTReader('angles_flat.png'),self.read5.__class__) 100 def testplugin(self): 101 """ test loading with plugging""" 102 l=Loader() 103 l.__setitem__() 104 self.assertEqual(l.__contains__('.tiff'),True) 105 self.assertEqual(l.__contains__('.png'),True) 106 self.assertEqual(self.L.getAcTReader('angles_flat.png'),tiff_reader.Reader) 107 self.assertEqual(self.L.load('angles_flat.png').__class__,tiff_reader.ReaderInfo) 100 108 101
Note: See TracChangeset
for help on using the changeset viewer.