You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The test_subscriptions test file uses stdin, stdout, and stderr to allow multiple commands to be executed in a single test. The inputs are placed in stdin so that the commands are executed through the pywbemcli repl as a single execution of pywbemcl and the results are saved in stderr, stdout. However, there is an issue with this because the tests hide the use of any existing default connections file by renaming it during the tests.
Since the subscription tests do not actually create a new default connections file, repl issues a warning message about the default repl file being missing which shows up in the stderr output. This causes one error in tests_subscriptions.py where the warnings show up in the stderr file but are not expected.
We need to clean up this process to make the use of this process as a test tool.
This only showed up in PR #1406 and that is not yet explained.
The failing test of stderr has been temporarily changed to not test the stderr result.
The text was updated successfully, but these errors were encountered:
The test_subscriptions test file uses stdin, stdout, and stderr to allow multiple commands to be executed in a single test. The inputs are placed in stdin so that the commands are executed through the pywbemcli repl as a single execution of pywbemcl and the results are saved in stderr, stdout. However, there is an issue with this because the tests hide the use of any existing default connections file by renaming it during the tests.
Since the subscription tests do not actually create a new default connections file, repl issues a warning message about the default repl file being missing which shows up in the stderr output. This causes one error in tests_subscriptions.py where the warnings show up in the stderr file but are not expected.
We need to clean up this process to make the use of this process as a test tool.
This only showed up in PR #1406 and that is not yet explained.
The failing test of stderr has been temporarily changed to not test the stderr result.
The text was updated successfully, but these errors were encountered: