orsopy.fileio.tests.test_data_source module
Tests for fileio.data_source module
-
class orsopy.fileio.tests.test_data_source.TestExperiment(methodName='runTest')[source]
Bases: TestCase
Testing the Experiment class.
-
test_creation()[source]
Creation with minimal set.
-
test_to_yaml()[source]
Transformation to yaml with minimal set.
-
test_creation_optionals()[source]
Creation with optionals.
-
test_to_yaml_optionals()[source]
Transformation to yaml with optionals.
-
class orsopy.fileio.tests.test_data_source.TestSample(methodName='runTest')[source]
Bases: TestCase
Testing for the Sample class.
-
test_creation()[source]
Creation with a minimal set.
-
test_to_yaml()[source]
Transformation to yaml with a minimal set.
-
test_creation_optionals()[source]
Creation with a optionals.
-
test_to_yaml_optionals()[source]
Transformation to yaml with optionals.
-
class orsopy.fileio.tests.test_data_source.TestDataSource(methodName='runTest')[source]
Bases: TestCase
Tests for the DataSource class.
-
test_creation()[source]
Creation with only default.
-
class orsopy.fileio.tests.test_data_source.TestInstrumentSettings(methodName='runTest')[source]
Bases: TestCase
Tests for the InstrumentSettings class.
-
test_creation()[source]
Creation with minimal settings.
-
test_to_yaml()[source]
Transformation to yaml with minimal set.
-
test_creation_config_and_polarization()[source]
Creation with optional items.
-
test_to_yaml_config_and_polarization()[source]
Transformation to yaml with optional items.
-
test_wrong_polarization()[source]
-
class orsopy.fileio.tests.test_data_source.TestMeasurement(methodName='runTest')[source]
Bases: TestCase
Tests for the Measurement class.
-
test_creation()[source]
Creation with minimal set.
-
test_to_yaml()[source]
Transform to yaml with minimal set.
-
test_creation_optionals()[source]
Creation with optionals.
-
test_to_yaml_optionals()[source]
Transform to yaml with optionals.