Changeset a67c494 in sasview
- Timestamp:
- Apr 10, 2017 11:06:20 AM (8 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.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 6082048
- Parents:
- 149b8f6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
test/sasdataloader/test/utest_sesans.py
r35cf5c0 ra67c494 5 5 import unittest 6 6 from sas.sascalc.dataloader.readers.sesans_reader import Reader 7 7 from sas.sascalc.dataloader.loader import Loader 8 8 9 9 class sesans_reader(unittest.TestCase): … … 13 13 self.loader = reader.read 14 14 15 def test_ sesans_load(self):15 def test_full_load(self): 16 16 """ 17 Test .SES file loading17 Test .SES in the full loader to make sure that the file type is correctly accepted 18 18 """ 19 f = self.loader("sesans_examples/sphere2micron.ses")19 f = Loader().load("sesans_examples/sphere2micron.ses") 20 20 # self.assertEqual(f, 5) 21 21 self.assertEqual(len(f.x), 40)
Note: See TracChangeset
for help on using the changeset viewer.