mcstasscript.tests.test_dump_and_load

mcstasscript.tests.test_dump_and_loadΒΆ

Functions

setup_instr_no_path()

Sets up a neutron instrument without a package_path

setup_instr_root_path()

Sets up a neutron instrument with root package_path

setup_instr_with_input_path()

Sets up an instrument with a valid package_path, but it points to the dummy installation in the test folder.

setup_instr_with_input_path_relative()

Sets up an instrument with a valid package_path, but it points to the dummy installation in the test folder.

setup_instr_with_path()

Sets up an instrument with a valid package_path, but it points to the dummy installation in the test folder.

setup_populated_instr()

Sets up a neutron instrument with some features used and three components

setup_populated_instr_with_dummy_path()

Sets up a neutron instrument with some features used and three components

setup_populated_with_some_options_instr()

Sets up a neutron instrument with some features used and two components

setup_populated_x_ray_instr()

Sets up a X-ray instrument with some features used and three components

setup_populated_x_ray_instr_with_dummy_path()

Sets up a x-ray instrument with some features used and three components

setup_x_ray_instr_no_path()

Sets up a X-ray instrument without a package_path

setup_x_ray_instr_root_path()

Sets up a X-ray instrument with root package_path

setup_x_ray_instr_with_path()

Sets up an instrument with a valid package_path, but it points to the dummy installation in the test folder.

Classes

TestDumpAndLoad([methodName])