Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 27, 2023
1 parent c59c376 commit 5f06e52
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
4 changes: 3 additions & 1 deletion tests/integration/cloud/rest_contracts/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,9 @@ def _run_pact_test(

with pact_test:
gx_cloud_session.request(
method=contract_interaction.method, url=request_url, json=contract_interaction.request_body
method=contract_interaction.method,
url=request_url,
json=contract_interaction.request_body,
)

return _run_pact_test
14 changes: 6 additions & 8 deletions tests/integration/cloud/rest_contracts/test_add_checkpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,13 @@
NON_EXISTING_CHECKPOINT_ID: Final[str] = "68058949-f9c2-47b1-922a-a89c23ffad99"
PUT_CHECKPOINT_MIN_RESPONSE_BODY: Final[PactBody] = pact.Like("204 string")
PUT_CHECKPOINTS_MIN_REQUEST_BODY = {
"data":
{
"id": '123',
"type": "checkpoint",
"attributes": {
"checkpoint_config": {},
},
"data": {
"id": "123",
"type": "checkpoint",
"attributes": {
"checkpoint_config": {},
},

},
}


Expand Down

0 comments on commit 5f06e52

Please sign in to comment.