-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #262 from Crown-Commercial-Service/add-method-to-u…
…ndo-countersign Add a new method to the api client to allow it to undo the countersigning
- Loading branch information
Showing
3 changed files
with
21 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2386,6 +2386,19 @@ def test_update_framework_agreement(self, data_client, rmock): | |
"updated_by": "[email protected]", | ||
} | ||
|
||
def test_update_framework_agreement_undo_countersign(self, data_client, rmock): | ||
rmock.post( | ||
"http://baseurl/agreements/12345/undo-countersign", | ||
json={}, | ||
status_code=200) | ||
|
||
result = data_client.update_framework_agreement_undo_countersign(12345, "[email protected]") | ||
|
||
assert result == {} | ||
assert rmock.last_request.json() == { | ||
"updated_by": "[email protected]", | ||
} | ||
|
||
def test_sign_framework_agreement_with_no_signed_agreement_details(self, data_client, rmock): | ||
rmock.post( | ||
"http://baseurl/agreements/12345/sign", | ||
|