-
Notifications
You must be signed in to change notification settings - Fork 47
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
Enable and update some module tests #1404
Enable and update some module tests #1404
Conversation
cb63769
to
1d9105f
Compare
cfg = ConfigParser() | ||
cfg.read(glob.glob(cfgdir + '/*.module')) |
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.
Since the ConfigParser
and glob
are no longer used should we also drop their imports?
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 catch! I removed them.
@@ -12,8 +13,9 @@ Scenario: Check that only module packages including src are available | |||
| berry-source | enabled | wood | | | |||
When I execute dnf with args "repoquery berry" | |||
Then the exit code is 0 | |||
And stdout is | |||
And stdout matches line by line |
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.
I am fine with the change, I am just curious why is it done?
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.
Ah, for some reason I thought the "<REPOSYNC>" is checked only for "stdout matches line by line" and then forgot to check it and change it back. Thanks.
1d9105f
to
4a32c75
Compare
The returned dictionary is now a bit different: in case on an avaialable module (i.e. module that is not enabled nor disabled), the "state" has value "available" instead of empty string.
4a32c75
to
4b427d0
Compare
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.
Great, thanks!
Resolves: #1400