@@ -112,6 +112,7 @@ def test_successful_verification(self, mock_isfile, mock_wrapper):
112112 timeout = 30 ,
113113 verbose = True ,
114114 enable_pending = False ,
115+ publish_verification_results = False ,
115116 include_wip_pacts_since = None )
116117
117118 @patch ("pact.verify_wrapper.VerifyWrapper.call_verify" )
@@ -141,6 +142,7 @@ def test_pact_url_param_supported(self, mock_isfile, mock_wrapper):
141142 timeout = 30 ,
142143 verbose = False ,
143144 enable_pending = False ,
145+ publish_verification_results = False ,
144146 include_wip_pacts_since = None )
145147 self .assertEqual (result .exit_code , 0 )
146148
@@ -163,6 +165,7 @@ def test_pact_urls_param_supported(self, mock_isfile, mock_wrapper):
163165 timeout = 30 ,
164166 verbose = False ,
165167 enable_pending = False ,
168+ publish_verification_results = False ,
166169 include_wip_pacts_since = None )
167170 self .assertEqual (result .exit_code , 0 )
168171
@@ -189,6 +192,7 @@ def test_failed_verification(self, mock_isfile, mock_wrapper):
189192 timeout = 30 ,
190193 verbose = False ,
191194 enable_pending = False ,
195+ publish_verification_results = False ,
192196 include_wip_pacts_since = None )
193197
194198 @patch .dict (os .environ , {'PACT_BROKER_PASSWORD' : 'pwd' ,
@@ -212,6 +216,7 @@ def test_broker_creds_from_env_var(self, mock_isfile, mock_wrapper):
212216 timeout = 30 ,
213217 verbose = False ,
214218 enable_pending = False ,
219+ publish_verification_results = False ,
215220 include_wip_pacts_since = None )
216221
217222 @patch ("pact.verify_wrapper.VerifyWrapper.call_verify" )
@@ -233,7 +238,6 @@ def test_all_url_options(self, mock_isfile, mock_wrapper):
233238 '--pact-broker-token=token' ,
234239 '--pact-broker-url=http://localhost/docker' ,
235240 '--provider=provider' ,
236- '--publish-verification-results' ,
237241 '--provider-app-version=1.2.3' ,
238242 '--log-dir=tmp/logs/pact.test.log' ,
239243 '--log-level=INFO' ,
@@ -263,6 +267,7 @@ def test_all_url_options(self, mock_isfile, mock_wrapper):
263267 timeout = 60 ,
264268 verbose = True ,
265269 enable_pending = True ,
270+ publish_verification_results = False ,
266271 include_wip_pacts_since = None )
267272
268273 @patch ("pact.verify_wrapper.VerifyWrapper.call_verify" )
@@ -305,7 +310,7 @@ def test_all_broker_options(self, mock_wrapper):
305310 '{"tag": "staging", "latest": true}' ],
306311 provider_tags = ['dev' , 'qa' ],
307312 provider_app_version = '1.2.3' ,
308- # custom_provider_header=['Authorization: Basic cGFj', 'CustomHeader: somevalue'] ,
313+ publish_verification_results = True ,
309314 provider_states_setup_url = 'http://localhost/provider-states/set' ,
310315 timeout = 60 ,
311316 verbose = True ,
0 commit comments