-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
[MAINTENANCE] create Checkpoint endpoint contract test #8882
[MAINTENANCE] create Checkpoint endpoint contract test #8882
Conversation
✅ Deploy Preview for niobium-lead-7998 canceled.
|
…tions into PP-779-api-context-add-checkpoint-contract-test
5f06e52
to
22d293b
Compare
970ea3b
to
9a98a4a
Compare
"contract_interaction", | ||
[ | ||
ContractInteraction( | ||
method="POST", |
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.
Are you testing the PUT
or the POST
? This request_path
makes sense with the POST
, but the request_body
references PUT
. Maybe you tried both.
), | ||
request_body=PUT_CHECKPOINTS_MIN_REQUEST_BODY, | ||
upon_receiving="a request to create a Checkpoint", | ||
given="the Checkpoint is created", |
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.
I think the given
state here is supposed to be "the Checkpoint does not exist".
These tests are no longer being added. Hopefully we can add more contract tests with the V1 API. |
Add contract test for creating a Checkpoint in Cloud REST endpoint
invoke lint
(usesblack
+ruff
)For more information about contributing, see Contribute.
After you submit your PR, keep the page open and monitor the statuses of the various checks made by our continuous integration process at the bottom of the page. Please fix any issues that come up and reach out on Slack if you need help. Thanks for contributing!