Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pytest class-based tests don't work #282

Closed
Stranger6667 opened this issue Nov 17, 2019 · 0 comments · Fixed by #284
Closed

Pytest class-based tests don't work #282

Stranger6667 opened this issue Nov 17, 2019 · 0 comments · Fixed by #284
Labels
Priority: High Important but not urgent Type: Bug Errors or unexpected behavior

Comments

@Stranger6667
Copy link
Member

This kind of test

class TestAPI:
    @schema.parametrize()
    def test_users(self, request, case):
        ...

fails with

 TypeError: test_() missing 1 required positional argument: 'case'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: High Important but not urgent Type: Bug Errors or unexpected behavior
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant