@@ -178,22 +178,23 @@ def test_signature_request_get_and_list(self):
178178 def test_signature_request_reminder (self ):
179179 ''' Test sending a reminder for a signature request '''
180180
181- sig_req = self ._get_one_signature_request ()
181+ sig_req = self ._send_test_signature_request ()
182182 signer = sig_req .signatures [0 ].signer_email_address
183183
184184 # Wait a little bit for the file to be ready
185185 sleep (5 )
186186
187187 # Sent reminder
188188 try :
189- self .client .remind_signature_request (sig_req .signature_request_id , signer )
189+ result = self .client .remind_signature_request (sig_req .signature_request_id , signer )
190+ self .assertEquals (isinstance (result , SignatureRequest ), True )
190191 except Forbidden as e :
191192 self .fail (e .message )
192193
193194 def test_signature_request_file (self ):
194195 ''' Test retrieving signature request files '''
195-
196- sig_req = self ._get_one_signature_request ()
196+
197+ sig_req = self ._send_test_signature_request ()
197198
198199 # Wait a little bit for the file to be ready
199200 sleep (10 )
@@ -237,6 +238,7 @@ def test_signature_request_send(self):
237238
238239 # Cancel signature request
239240 try :
241+ sleep (59 ) # wait for SIGNATURE_REQUEST_SENT
240242 self .client .cancel_signature_request (sig_req .signature_request_id )
241243 except HSException as e :
242244 self .fail (e .message )
@@ -246,6 +248,7 @@ def test_signature_request_send(self):
246248
247249 # Cancel signature request
248250 try :
251+ sleep (59 ) # wait for SIGNATURE_REQUEST_SENT
249252 self .client .cancel_signature_request (sig_req2 .signature_request_id )
250253 except HSException as e :
251254 self .fail (e .message )
@@ -261,6 +264,7 @@ def test_signature_request_send_with_template(self):
261264
262265 # Cancel signature requests
263266 try :
267+ sleep (59 ) # wait for SIGNATURE_REQUEST_SENT
264268 self .client .cancel_signature_request (sig_req1 .signature_request_id )
265269 sleep (2 )
266270 self .client .cancel_signature_request (sig_req2 .signature_request_id )
@@ -271,6 +275,7 @@ def test_embedded_signature_request_send(self):
271275 ''' Test sending embedded signature requests '''
272276 sig_req = self ._send_test_signature_request (embedded = True )
273277 try :
278+ sleep (59 ) # wait for SIGNATURE_REQUEST_SENT
274279 self .client .cancel_signature_request (sig_req .signature_request_id )
275280 except HSException as e :
276281 self .fail (e .message )
0 commit comments