Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed and simplified invocation of wbemcli in test_wbemcli.py
Details: - In test_wbemcli.py, the `wbemcli` command was invoked with `PYTHONPATH=.` which causes the `wbemcli` script from the working directory to be used and not the one generated by the Pip installer that wrappers that script. In certain situations this causes the testcases to fail because the wbemcli script in the working directory is not found by the wrapper wbemcli script. This was fixed by removing PYTHONPATH=. from the invocation. I cannot currrently reproduce the error situation, but the change seems correct in any case (because the wrapper script is supposed to be used). - Simplified invocation of the `wbemcli` command in `test_wbemcli.py` by no longer setting pipefail (the invocation does not use piping). - Improved the assertion failure messages, for better diagnostics in case of failures. Signed-off-by: Andreas Maier <maiera@de.ibm.com>
- Loading branch information