Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
577fa38
Add test for testing response headers
josemacassan Feb 7, 2025
9065b95
Adding test for response headers
josemacassan Feb 10, 2025
08e367a
Adding test for response headers
josemacassan Feb 10, 2025
c34d833
Add test for testing response headers
josemacassan Feb 7, 2025
85d0e94
Add test for response headers, modify ServiceSubscription unit test
josemacassan Feb 14, 2025
e5a3f92
Resolve conflicts during rebase
josemacassan Feb 14, 2025
5f6f1fc
Resolve conflicts of lint in PR
josemacassan Feb 14, 2025
1dfdd23
Add test for response headers
josemacassan Feb 17, 2025
44be167
Resolving conflicts.
josemacassan Feb 17, 2025
c76479f
admin/api/accounts/{id}/users done
Gituser010 Nov 13, 2024
5ecfd7d
Adding Service Subscription and Service Plan resources and tests for …
Jan 27, 2025
b1e1838
Changes made in response to PR comments.
josemacassan Jan 27, 2025
5f8e2e5
Update tests for test_integration_service_subscriptions. Add Service …
josemacassan Jan 28, 2025
8337297
Adding resources for Service Plan and the equivalent unit tests
josemacassan Jan 30, 2025
bdc138c
Implement suggested changes from PR review.
josemacassan Feb 5, 2025
8d8c1e1
Fix missing correct nammes in DefaultResoruce ServiceSubscription
josemacassan Feb 5, 2025
b605792
Fix minor bugs in PR after review.
josemacassan Feb 6, 2025
d8b8f20
Fix typo in resources.py
josemacassan Feb 6, 2025
5d86e45
Resolving conflicts during squashing.
josemacassan Feb 17, 2025
fb92d78
Modify test for response headers.
josemacassan Feb 18, 2025
1f52923
Merge branch 'x-served-by' of github.com:josemacassan/3scale-api-pyth…
josemacassan Feb 18, 2025
4296106
Remove replicated test test_response_headers.py
josemacassan Feb 18, 2025
5ba2816
Fix suggestions after PR review.
josemacassan Feb 20, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ def test_read_service_subscription(account, service_subscription, service_subscr
resource = account.service_subscriptions.read(service_subscription.entity_id)
asserts.assert_resource(resource)
asserts.assert_resource_params(service_subscription,service_subscription_params)

5 changes: 5 additions & 0 deletions tests/integration/test_response_headers.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@

def test_x_served_by(api):
response = api._rest.get(url=api.admin_api_url + '/accounts')
assert response.status_code == 200
assert "X-Served-By" not in response.headers
Loading