Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/sasdataloader/test/utest_sesans.py

    rf4e2f22 rf53d684  
    2525            Test .SES in the full loader to make sure that the file type is correctly accepted 
    2626        """ 
    27         file = Loader().load(find("sesans_examples" + os.sep + 
    28                                   "sphere2micron.ses")) 
     27        file = Loader().load(find("sesans_examples/sphere2micron.ses")) 
    2928        f = file[0] 
    3029        # self.assertEqual(f, 5) 
     
    4544            Test .SES loading on a TOF dataset 
    4645        """ 
    47         file = self.loader(find("sesans_examples" + os.sep + "sphere_isis.ses")) 
     46        file = self.loader(find("sesans_examples/sphere_isis.ses")) 
    4847        f = file[0] 
    4948        self.assertEqual(len(file), 1) 
     
    6362            FileContentsException, 
    6463            self.loader, 
    65             find("sesans_examples" + os.sep + "sesans_no_data.ses")) 
     64            find("sesans_examples/sesans_no_data.ses")) 
    6665 
    6766    def test_sesans_no_spin_echo_unit(self): 
     
    7271            FileContentsException, 
    7372            self.loader, 
    74             find("sesans_examples" + os.sep + "no_spin_echo_unit.ses")) 
     73            find("sesans_examples/no_spin_echo_unit.ses")) 
    7574 
    7675    def test_sesans_future_version(self): 
     
    8180            FileContentsException, 
    8281            self.loader, 
    83             find("sesans_examples" + os.sep + "next_gen.ses")) 
     82            find("sesans_examples/next_gen.ses")) 
    8483 
    8584    def test_sesans_mandatory_headers(self): 
     
    9089            FileContentsException, 
    9190            self.loader, 
    92             find("sesans_examples" + os.sep + "no_wavelength.ses")) 
     91            find("sesans_examples/no_wavelength.ses")) 
    9392 
    9493    def test_sesans_columns_match_headers(self): 
     
    9998            FileContentsException, 
    10099            self.loader, 
    101             find("sesans_examples" + os.sep + "too_many_headers.ses")) 
     100            find("sesans_examples/too_many_headers.ses")) 
    102101 
    103102if __name__ == "__main__": 
Note: See TracChangeset for help on using the changeset viewer.