orsopy.fileio.tests.test_orso module

Tests for fileio module

class orsopy.fileio.tests.test_orso.TestOrso(methodName='runTest')[source]

Bases: TestCase

Testing the Orso class.

test_creation()[source]

Creation of Orso object.

test_creation_data_set1()[source]

Creation of Orso object with a non-zero data_set.

test_repr()[source]
test_write_read()[source]
test_unique_dataset()[source]
test_user_data()[source]
test_extra_elements()[source]
test_save_numpy_scalar_dtypes()[source]
test_nxs_special_cases()[source]
class orsopy.fileio.tests.test_orso.TestFunctions(methodName='runTest')[source]

Bases: TestCase

Tests for functionality in the Orso module.

test_make_empty()[source]

Creation of the empty Orso object.

test_empty_to_yaml()[source]

Checking yaml string form empty Orso object.

TODO: Fix once correct format is known.