Skip to content

Instantly share code, notes, and snippets.

@beregond
Created February 2, 2017 14:13
Show Gist options
  • Save beregond/886537045f46f2a2bf324eba4cf39346 to your computer and use it in GitHub Desktop.
Save beregond/886537045f46f2a2bf324eba4cf39346 to your computer and use it in GitHub Desktop.
@pytest.fixture(scope=module)
def heavy_fixture(fixture1, fixture2):
# here be dragons
@pytest.mark.parametrize(
['param1', 'param2', 'param3'],
[
(1, 0, 0),
(0, 1, 1),
(3, 0, 4),
]
)
def test_something(heavy_fixture, param1, param2, param3):
# testing in progress
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment