Skip to content

Commit e7c87ce

Browse files
committed
style: Fix linting issues
1 parent ee2eda0 commit e7c87ce

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

pact/verifier.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,9 @@ def extract_params(self, **kwargs):
125125

126126
def _build_consumer_selectors(self, consumer_selectors):
127127
"""
128-
Turns each dict in the consumer_selectors list into a string with a
128+
Build the consumer_selectors list.
129+
130+
Turn each dict in the consumer_selectors list into a string with a
129131
json object, as expected by VerifyWrapper.
130132
"""
131133
return [json.dumps(selector) for selector in consumer_selectors]

tests/test_verifier.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,11 +174,11 @@ def test_verifier_with_broker_passes_consumer_selctors(self, mock_wrapper):
174174
mock_wrapper.return_value = (True, 'some value')
175175

176176
output, _ = self.verifier.verify_with_broker(
177-
**self.default_opts,
178177
consumer_version_selectors=[
179178
{"tag": "main", "latest": True},
180179
{"tag": "test", "latest": False},
181-
]
180+
],
181+
**self.default_opts,
182182
)
183183

184184
self.assertTrue(output)

0 commit comments

Comments
 (0)