Last active
February 18, 2018 03:46
-
-
Save mplanchard/877f013bae1c3cf3319e3612ff9442c9 to your computer and use it in GitHub Desktop.
pytest parametrize basic
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')) | |
def test_something(foo): | |
print(foo) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment