Skip to content

Instantly share code, notes, and snippets.

@mplanchard
Created February 18, 2018 03:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mplanchard/c2e081d25920a7d88405e3497707e738 to your computer and use it in GitHub Desktop.
Save mplanchard/c2e081d25920a7d88405e3497707e738 to your computer and use it in GitHub Desktop.
pytest parametrize multi
import pytest
@pytest.mark.parametrize('foo, bar', (
('a', True),
('a', False),
('b', True),
('b', False)
))
def test_multi(foo, bar):
print(foo, bar)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment