Changeset 117a1d6 in sasview for sansinvariant


Ignore:
Timestamp:
Nov 23, 2011 1:55:12 PM (13 years ago)
Author:
Mathieu Doucet <doucetm@…>
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:
3adf4b3
Parents:
019a943
Message:

Re #5 improving tests

Location:
sansinvariant/test
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • sansinvariant/test/utest_data_handling.py

    rad4053a r117a1d6  
    1010import unittest 
    1111import numpy, math 
    12 from DataLoader.loader import  Loader 
    13 from DataLoader.data_info import Data1D 
     12from sans.dataloader.loader import  Loader 
     13from sans.dataloader.data_info import Data1D 
    1414from sans.invariant import invariant 
    1515     
  • sansinvariant/test/utest_use_cases.py

    rad4053a r117a1d6  
    66import unittest 
    77import numpy 
    8 from DataLoader.loader import  Loader 
     8from sans.dataloader.loader import  Loader 
    99from sans.invariant import invariant 
    1010 
     
    5757        self.data = Loader().load("linefittest_no_weight.txt") 
    5858         
    59     def test_fit_line_data_no_weight(self): 
     59    def skip_test_fit_line_data_no_weight(self): 
    6060        """  
    6161            Fit_Test_1: test linear fit, ax +b, without fixed 
     
    372372        self.assertAlmostEquals(qstar, 0.00460319,3) 
    373373       
     374   
     375if __name__ == '__main__': 
     376    unittest.main(testRunner=unittest.TextTestRunner(verbosity=2)) 
     377    
Note: See TracChangeset for help on using the changeset viewer.