Changeset 425feff in sasview for test/sasdataloader
- Timestamp:
- Feb 15, 2018 10:28:55 AM (7 years ago)
- Branches:
- master, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, unittest-saveload
- Children:
- 2924532
- Parents:
- 3ee0451
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
test/sasdataloader/test/utest_generic_file_reader_class.py
r3ee0451 r425feff 10 10 from sas.sascalc.dataloader.data_info import DataInfo, plottable_1D 11 11 from sas.sascalc.dataloader.loader import Loader 12 from sas.sascalc.dataloader.loader_exceptions import NoKnownLoaderException 12 13 from sas.sascalc.dataloader.file_reader_base_class import FileReader 13 14 … … 29 30 30 31 def test_bad_file_path(self): 31 output = self.reader.read(self.bad_file)32 self.assertEqual(output, [])32 self.assertRaises(NoKnownLoaderException, self.reader.read, 33 self.bad_file) 33 34 34 35 def test_good_file_path(self):
Note: See TracChangeset
for help on using the changeset viewer.