Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def decorator_example(fn):
- def create(*args, **kwargs):
- # any code here
- return fn(*args, **kwargs)
- return create
- @pytest.mark.parametrize(
- "test_params",
- [
- pytest.param("own_parameters")
- ])
- @decorator_example
- def test_1(self, fixture1, fixture2, test_params):
- pass
- ValueError: <function create at address> uses no argument 'test_params'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement