FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Update pytest_steps/tests/test_steps_harvest_step_bag.py · smarie/python-pytest-steps@c4e21d3 · GitHub

Commit c4e21d3

Browse files
andauthored
Update pytest_steps/tests/test_steps_harvest_step_bag.py
Co-authored-by: Sylvain Marié <sylvain.marie@schneider-electric.com>
1 parent 31eb0ae commit c4e21d3

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎pytest_steps/tests/test_steps_harvest_step_bag.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ def test_fruit_step_bag(step_bag):
3434
@test_steps("apples", "bananas")
3535
def test_fruit_results_bag(results_bag):
3636
# This test will have a shared bag over both steps
37-
yield from fruit_counter(results_bag)
37+
for f in fruit_counter(step_bag):
38+
yield f
3839

3940

4041
@test_steps("apples", "bananas")

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL