-
Notifications
You must be signed in to change notification settings - Fork 116
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
Workaround the issue as long as BZ2228820 is open #12498
Workaround the issue as long as BZ2228820 is open #12498
Conversation
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.
Looks good to me. waiting for PRT job
trigger: test-robottelo |
@@ -77,7 +78,10 @@ def test_positive_create(self): | |||
headers={'content-type': 'text/plain'}, |
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.
For workaround here, wouldn't it better to change content-type instead when bz is open with is_open
and not checking UNSUPPORTED_MEDIA_TYPE, wdyt?
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.
As it is now, we're testing that UNSUPPORTED_MEDIA_TYPE is being returned, or at least ISE 500 if the BZ is open (as opposed to returning something even more wrong, e.g. 200 OK).
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.
IMO using any other content-type's isn't wrong, and I feel its better option to test something than checking if we hit UNSUPPORTED_MEDIA_TYPE/ISE :)
Its upto you how you want to test it, so its non-blocking.
Why you're looking for additional tier1 and tier2 reviews on this? :) |
Please add the description and we can merge this! |
@Gauravtalreja1, because nobody merged and I shouldn't self-merge. |
@adarshdubey-star there's both PR name and commit message, why do you think description is necessary? Is something unclear based on the commit message? |
(cherry picked from commit c8dce95)
(cherry picked from commit c8dce95)
Nope just a good to have thing :) |
No description provided.