We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9f16d9 commit e460dadCopy full SHA for e460dad
features/environment.py
@@ -90,7 +90,7 @@ def reduce_db_outcomes(feature_outcomes):
90
outcome_counts = Counter(outcome.severity for outcome in context.gherkin_outcomes)
91
for severity in [OutcomeSeverity.PASSED, OutcomeSeverity.EXECUTED, OutcomeSeverity.NOT_APPLICABLE]:
92
if outcome_counts[severity] > 0:
93
- yield next(o for o in context.gherkin_outcomes if o.severity == severity)
+ yield next(outcome for outcome in context.gherkin_outcomes if outcome.severity == severity)
94
break
95
96
outcomes_to_save = list(reduce_db_outcomes(context.gherkin_outcomes))
0 commit comments