matflow.tests.conftest#
Configuration and standard fixtures for PyTest.
Functions
Pytest fixture to ensure the current config directory and key are used when invoking the CLI. |
|
Pytest session-scoped fixture to apply a new default config for tests, and then restore the original config after testing has completed. |
|
A load case object to compare to that generated in define_load.yaml. |
|
Pytest fixture to provide a fresh config which can be safely modified within the test without affecting other tests. |
|
An orientations object to compare to that generated in task index 0 of define_orientations.yaml. |
|
An orientations object to compare to that generated in task index 1 of define_orientations.yaml (the demo data file quaternions.txt). |
|
Pytest fixture to reload the template components at the end of the test. |
|
A microstructure seeds object to compare to that generated in define_seeds.yaml. |
|