Changeset 8c9ffde in sasview for test/sasmodels/test/utest_models.py
- Timestamp:
- Feb 13, 2015 4:01:33 AM (9 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:
- 35ec279
- Parents:
- 3a39c2e
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
test/sasmodels/test/utest_models.py
rc908b0c r8c9ffde 17 17 18 18 def setUp(self): 19 from sa ns.models.CoreFourShellModel import CoreFourShellModel20 from sa ns.models.CoreMultiShellModel import CoreMultiShellModel19 from sas.models.CoreFourShellModel import CoreFourShellModel 20 from sas.models.CoreMultiShellModel import CoreMultiShellModel 21 21 self.comp = CoreMultiShellModel(4) 22 22 … … 29 29 30 30 def setUp(self): 31 from sa ns.models.SphereModel import SphereModel31 from sas.models.SphereModel import SphereModel 32 32 self.comp = SphereModel() 33 33 … … 45 45 def setUp(self): 46 46 47 from sa ns.models.CylinderModel import CylinderModel47 from sas.models.CylinderModel import CylinderModel 48 48 self.comp = CylinderModel() 49 49 … … 69 69 70 70 def setUp(self): 71 from sa ns.models.Gaussian import Gaussian71 from sas.models.Gaussian import Gaussian 72 72 self.gauss= Gaussian() 73 73 … … 100 100 101 101 def setUp(self): 102 from sa ns.models.Lorentzian import Lorentzian102 from sas.models.Lorentzian import Lorentzian 103 103 self.lor= Lorentzian() 104 104 … … 132 132 133 133 def setUp(self): 134 from sa ns.models.Sin import Sin134 from sas.models.Sin import Sin 135 135 self.sin = Sin() 136 136 … … 146 146 147 147 def setUp(self): 148 from sa ns.models.Cos import Cos148 from sas.models.Cos import Cos 149 149 self.cos = Cos() 150 150 … … 160 160 161 161 def setUp(self): 162 from sa ns.models.Constant import Constant162 from sas.models.Constant import Constant 163 163 self.const = Constant() 164 164 self.const.setParam('value',56.1) … … 174 174 # version 0.5.0: No longer supported 175 175 return 176 from sa ns.models.Sin import Sin176 from sas.models.Sin import Sin 177 177 s = Sin() 178 178 A = self.const
Note: See TracChangeset
for help on using the changeset viewer.