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 error due to function name #2

Open
alvarobartt opened this issue Aug 19, 2020 · 1 comment
Open

pytest error due to function name #2

alvarobartt opened this issue Aug 19, 2020 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@alvarobartt
Copy link
Owner

pytest has a pre-defined naming convention, which in this case implies that the functions inside the .py files in the tests/ directory, need to be named as test_*() which in this case is wrongly defined as it can be seen below:

@alvarobartt alvarobartt added the bug Something isn't working label Aug 19, 2020
@alvarobartt alvarobartt self-assigned this Aug 19, 2020
@alvarobartt
Copy link
Owner Author

By the way, that function should be renamed to: test_sample()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant