-
Notifications
You must be signed in to change notification settings - Fork 115
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
Make CaseImportance case-sensitive in testimony.yaml #8181
Make CaseImportance case-sensitive in testimony.yaml #8181
Conversation
e42d0b3
to
f34b5c1
Compare
f34b5c1
to
49dcde2
Compare
Codecov Report
@@ Coverage Diff @@
## master #8181 +/- ##
==========================================
- Coverage 58.41% 58.38% -0.03%
==========================================
Files 78 78
Lines 6242 6241 -1
==========================================
- Hits 3646 3644 -2
- Misses 2596 2597 +1
Continue to review full report at Codecov.
|
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.
(env) /home/okhatavk/Satellite/robottelo (update-testimony-importance) $ grep -r ":CaseComponent:.[a-z].*" tests | grep '.py' | grep -v 'Binary'
tests/foreman/sys/test_rename.py::CaseComponent: satellite-change-hostname
(env) /home/okhatavk/Satellite/robottelo (update-testimony-importance) $ grep -r ":CaseImportance:.[a-z].*" tests | grep '.py' | grep -v 'Binary'
tests/foreman/ui/test_contentview.py: :CaseImportance:High
tests/foreman/cli/test_contentaccess.py::CaseImportance: high
(env) /home/okhatavk/Satellite/robottelo (update-testimony-importance) $ grep -r ":CaseLevel: [a-z].*" tests | grep '.py' | grep -v 'Binary'
(env) /home/okhatavk/Satellite/robottelo (update-testimony-importance) $ grep -r ":CaseAutomation:.[a-z].*" tests | grep '.py' | grep -v 'Binary'
@mshriver let me know is that me only seeing that |
@omkarkhatavkar Check the components listing in testimony.yaml, If you're suggesting I make every component name consistent, this will require some further changes. Most of them are CamelCase, but several have I'll look at the occurrence of I do not believe testimony enforces the whitespace between the token name and value, so |
@omkarkhatavkar Each test case function within the module specifically defined CaseImportance in its local docblock, so the resulting testimony validation of the squashed token values did not catch this instance. I've removed the line from that test module. Thanks for being so thorough in your review here! |
Make all the testimony tokens case sensitive and consistent This helps when trying to process and use the the tokens in marking and test collection, like in SatelliteQE#8163
49dcde2
to
4f131dc
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.
ACK
If this is not accepted, I'll have to update #8163 to cover all capitalizations of the marks values.
Blocker: