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
In order to produce more test_client yaml testcases, it would be beneficial to generate those, instead of making them up manually. This can be achieved by having code in the WBEMConnection class in imethodcall() and methodcall() at the end when the result is available, that emits the yaml testcase for this operation. At this point, everything is available: Python input and output, and CIM-XML request and response (via debug). This could be controlled by another WBEMConnection instance attribute.
The text was updated successfully, but these errors were encountered:
PR #366 is an initial stab at an operation recorder, but its TestClientRecorder only displays the operation, and needs to be implemented for writing a test_client testcase.
In order to produce more test_client yaml testcases, it would be beneficial to generate those, instead of making them up manually. This can be achieved by having code in the WBEMConnection class in
imethodcall()
andmethodcall()
at the end when the result is available, that emits the yaml testcase for this operation. At this point, everything is available: Python input and output, and CIM-XML request and response (via debug). This could be controlled by another WBEMConnection instance attribute.The text was updated successfully, but these errors were encountered: