Created
February 18, 2018 04:01
-
-
Save mplanchard/55d435dd7dbb9c083419230b01b3e0c0 to your computer and use it in GitHub Desktop.
pytest parametrize stack
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pytest | |
@pytest.mark.parametrize('foo', ('a', 'b')) | |
@pytest.mark.parametrize('bar', (True, 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