generated from ghga-de/microservice-repository-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update dependencies and the template (#27)
* update dependencies * update template * version bump * update openapi doc * update api tests * remove redundant httpx mark Co-authored-by: Christoph Zwerschke <[email protected]> * reformat --------- Co-authored-by: Christoph Zwerschke <[email protected]>
- Loading branch information
Showing
9 changed files
with
1,554 additions
and
1,709 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -75,6 +75,7 @@ async def test_get_work_package_unauthorized(client: AsyncTestClient): | |
assert response.status_code == status.HTTP_403_FORBIDDEN | ||
|
||
|
||
@pytest.mark.httpx_mock(can_send_already_matched_responses=True) | ||
async def test_create_work_order_token( | ||
client: AsyncTestClient, | ||
auth_headers: dict[str, str], | ||
|
@@ -218,8 +219,6 @@ async def test_create_work_order_token( | |
} | ||
|
||
# mock the access check for the test dataset to revoke access | ||
|
||
httpx_mock.reset(assert_all_responses_were_requested=True) | ||
httpx_mock.add_response( | ||
method="GET", | ||
url="http://access/users/[email protected]/datasets/some-dataset-id", | ||
|