FloeTestCase¶
- class artemis.test.FloeTestCase(methodName='runTest')¶
A helper class for testing packages and floes.
Test classes should inherit from FloeTestCase.
- assertWorkFloeComplete(workfloe: orionclient.types.floes.WorkFloeJob)¶
Asserts that a workfloe completed successfully.
- Parameters
workfloe (WorkFloeJob) – A workfloe
- Returns
None
- Raises
AssertionError: If the specified workfloe is not complete or failed with errors.
- get_packages() List[artemis.packaging.OrionTestPackage] ¶
Returns a list of required packages. :return: List of packages :rtype: list<OrionTestPackage>
- classmethod setUpClass()¶
If running in Orion, uploads all required packages.