@@ -375,12 +375,14 @@ def setUp(self):
375375 .will_respond_with (200 , body = 'success' ))
376376
377377 self .delete_call = call ('delete' , 'http://localhost:1234/interactions' ,
378- headers = {'X-Pact-Mock-Service' : 'true' })
378+ headers = {'X-Pact-Mock-Service' : 'true' },
379+ verify = False )
379380
380381 self .put_interactions_call = call (
381382 'put' , 'http://localhost:1234/interactions' ,
382383 data = None ,
383384 headers = {'X-Pact-Mock-Service' : 'true' },
385+ verify = False ,
384386 json = {'interactions' : [{
385387 'response' : {'status' : 200 , 'body' : 'success' },
386388 'request' : {'path' : '/path' , 'method' : 'GET' },
@@ -570,7 +572,9 @@ def test_wait_for_server_start_success(self):
570572 session .mount .assert_called_once_with (
571573 'http://' , self .mock_HTTPAdapter .return_value )
572574 session .get .assert_called_once_with (
573- 'http://localhost:1234' , headers = {'X-Pact-Mock-Service' : 'true' })
575+ 'http://localhost:1234' ,
576+ headers = {'X-Pact-Mock-Service' : 'true' },
577+ verify = False )
574578 self .mock_HTTPAdapter .assert_called_once_with (
575579 max_retries = self .mock_Retry .return_value )
576580 self .mock_Retry .assert_called_once_with (total = 9 , backoff_factor = 0.1 )
@@ -588,7 +592,9 @@ def test_wait_for_server_start_failure(self):
588592 session .mount .assert_called_once_with (
589593 'http://' , self .mock_HTTPAdapter .return_value )
590594 session .get .assert_called_once_with (
591- 'http://localhost:1234' , headers = {'X-Pact-Mock-Service' : 'true' })
595+ 'http://localhost:1234' ,
596+ headers = {'X-Pact-Mock-Service' : 'true' },
597+ verify = False )
592598 self .mock_HTTPAdapter .assert_called_once_with (
593599 max_retries = self .mock_Retry .return_value )
594600 self .mock_Retry .assert_called_once_with (total = 9 , backoff_factor = 0.1 )
@@ -611,12 +617,14 @@ def setUp(self):
611617 'get' , 'http://localhost:1234/interactions/verification' ,
612618 allow_redirects = True ,
613619 headers = {'X-Pact-Mock-Service' : 'true' },
620+ verify = False ,
614621 params = None )
615622
616623 self .post_publish_pacts_call = call (
617624 'post' , 'http://localhost:1234/pact' ,
618625 data = None ,
619626 headers = {'X-Pact-Mock-Service' : 'true' },
627+ verify = False ,
620628 json = None )
621629
622630 def test_success (self ):
0 commit comments