-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes #991: Fixed mock script and added testcases for namespace creation #1114
Merged
Conversation
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
fdaf557
to
30e3ee9
Compare
30e3ee9
to
8578263
Compare
624b09d
to
4ef4c77
Compare
4ef4c77
to
0f9e60f
Compare
02899c7
to
7bcf7a5
Compare
KSchopmeyer
reviewed
Dec 27, 2021
KSchopmeyer
reviewed
Dec 27, 2021
KSchopmeyer
reviewed
Dec 27, 2021
KSchopmeyer
reviewed
Dec 27, 2021
KSchopmeyer
reviewed
Dec 27, 2021
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good. My comments are about packaging some of this into pywbemcli, etc. since we are repeating the same code to setup interop in multiple scripts.
7bcf7a5
to
bccfe1e
Compare
We discussed whether this solution is good enough for solving issue #991 and concluded that that is the case. |
…tion Details: * Increased minimum version of pywbem to 1.4.0 (for now, pulling from branch). * Fixed the simple_interop_mock_script.py mock script so that it now creates the Interop MOF always in the interop namespace. The user MOF continues to be created in the default namespace. * Added a simple_foo_mock_script.py mock script that prepares an Interop namespace and then compiles user MOF into a namespace determined by the pragma namespace in the MOF. * Added a new test file test_namespace_creation.py for various cases of namespace creation. * For consistency, changed the simple_disablepull_mock_script.py mock script to also set up the Interop namespace in the same way, and to compile user MOF into root/cimv2, resulting in the same namespace setup as before the change. * This allowed deletion of the no longer used simple_interop_mock_model.mof file, which was a somewhat simple minded approach to setting up an Interop namespace. * Adjusted the expected error message for Interop namespace not found due to a corresponding change in pywbem 1.4.0. Signed-off-by: Andreas Maier <andreas.r.maier@gmx.de>
bccfe1e
to
28c56ca
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
For details, see commit message.
TODO:
DISCUSSION: