-
Notifications
You must be signed in to change notification settings - Fork 20
Add test for X served by response header #166
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
Conversation
mkudlej
left a comment
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.
Please split this PR to 2 PRs: First will contain changes for service subscription, the second one only for response headers.
tests/test_response_headers.py
Outdated
|
|
||
|
|
||
| @pytest.fixture(scope="module") | ||
| def cl(): |
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.
There is a fixture already in conftest, see
| def api(url: str, token: str, |
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.
Also please squash all commits in one PR into one. In this case there is no need to have more than one commit in one PR.
Get admin/api/accounts/find Get admin/api/accounts/plan
…Service Subscription
Add test for testing response headers Add test for response headers Adding test for response headers Add test for response headers, modify ServiceSubscription unit test Adding test for response headers Resolve conflicts of lint in PR
…on into x-served-by
PR in order to add test for response header X-Served-By