-
Notifications
You must be signed in to change notification settings - Fork 11
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
[RHELDST-2414] integration tests should log response headers #109
Conversation
tests/integration/test_exodus.py
Outdated
@@ -9,6 +9,7 @@ def test_exodus_basic(cdn_test_url): | |||
) | |||
|
|||
r = requests.get(url) | |||
print(r.headers) |
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.
How about formatting the json in an easier way to read it.
https://www.journaldev.com/33302/python-pretty-print-json
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.
@lioramilbaum Yes! I will give it a try.
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.
@lioramilbaum done!
@rohanpm @nathanegillett @crungehottman @lioramilbaum
and the type of |
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.
With respect to the commit message:
[RHELDST-2414] integration tests should log response headers
If you'll put an issue key in the commit message subject, could it please be at the end rather than the beginning?
In exodus-lambda tests/integration, when a test fails because some attribute of a response doesn't match an expected value, the test output contains all headers on the response.
@rohanpm updated the commit message, please review. |
In exodus-lambda tests/integration, when a test fails because some attribute of
a response doesn't match an expected value, the test output contains all headers
on the response.