-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed end2end test concept and testcases
Details: * Test: Added missing env.vars in the pytest invocation for end2end tests. * Test: Added support for specifying 'hmc_auth.ca_certs' and 'hmc_auth.verify' from the 'hmc_verify_cert' parameter in the HMC definition file in end2end test cases for zhmc_partition and zhmc_user. * Test: Made end2end testing compatible with zhmcclient.testutils support for HMC definition files. The HMC definition file is now by default ~/.hmc_hmc_definitions.yaml, and the env.var to override that is now TESTHMCFILE. * Test: Added support for a TESTCASES env.var for filtering testcases with the pytest -k option. * Fixed incorrect assumption about defaulting of optional module parameters: This is only done automatically when the module is invoked by ansible, but not when invoked by the end2end testcases. Changed the end2end testcases for zhmc_partition and zhmc_user to specify the optional parameters. * Changed picking of partition to test in end2end testcase test_partition_facts() to be a random partition of each type. Signed-off-by: Andreas Maier <maiera@de.ibm.com>
- Loading branch information
1 parent
f34d582
commit 5252ba5
Showing
5 changed files
with
137 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters