-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle newly introduced invite_url coming from the sign service
- Loading branch information
1 parent
22a6e02
commit bd6582e
Showing
6 changed files
with
16 additions
and
4 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
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 |
---|---|---|
|
@@ -29,7 +29,8 @@ def test_can_be_serialized(self): | |
signers=['[email protected]'], | ||
editors=['[email protected]'], | ||
job_id='1', | ||
redirect_url='[email protected]') | ||
redirect_url='[email protected]', | ||
invite_url='[email protected]/invite') | ||
|
||
self.assertDictEqual( | ||
{ | ||
|
@@ -49,7 +50,8 @@ def test_can_be_serialized(self): | |
} | ||
], | ||
'job_id': '1', | ||
'redirect_url': '[email protected]' | ||
'redirect_url': '[email protected]', | ||
'invite_url': '[email protected]/invite', | ||
}, metadata.serialize()) | ||
|
||
def test_can_be_converted_to_a_signed_version(self): | ||
|
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 |
---|---|---|
|
@@ -17,6 +17,7 @@ | |
DEFAULT_MOCK_RESPONSE = { | ||
'id': '1', | ||
'redirect_url': 'http://external.example.org/signing-requests/123', | ||
'invite_url': 'http://external.example.org/invite/signing-requests/123', | ||
} | ||
|
||
|
||
|
@@ -59,6 +60,7 @@ def test_store_signing_document_metadata_when_starting_sign_process(self, mocker | |
'created': u'2024-02-18T15:45:00', | ||
'job_id': '1', | ||
'redirect_url': 'http://external.example.org/signing-requests/123', | ||
'invite_url': 'http://external.example.org/invite/signing-requests/123', | ||
'signers': [{u'email': u'[email protected]', u'userid': u''}], | ||
'editors': [{u'email': u'[email protected]', u'userid': u''}], | ||
'userid': 'regular_user', | ||
|