-
-
Notifications
You must be signed in to change notification settings - Fork 63
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
Remove slow_test
pytest marker
#120
Conversation
tests/test_multipart.py
Outdated
@@ -10,6 +10,7 @@ | |||
from unittest.mock import Mock | |||
|
|||
import yaml | |||
from pytest import mark |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use import purest please.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
Actually, how slow are those tests? Do we need this marker or can we just remove it? |
They are not particularly slow less than ½ a second here and all the other tests are a couple of seconds combined, so I dont think that marker serves a real pupose atm. |
A small note, what currently makes the tests "slow" is generating the coverage report, without it running pytest is roughly 3x faster. |
That's normal. |
slow_test
pytest marker
Thanks 👍 |
Get rid of the warning emitted by pytest due to slow_test not being a registered mark.