-
Notifications
You must be signed in to change notification settings - Fork 72
Enable separation of MongoDB tests from other tests #144
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
Conversation
232a37c to
6b5ad19
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #144 +/- ##
=======================================
Coverage 99.40% 99.40%
=======================================
Files 5 5
Lines 508 508
Branches 88 88
=======================================
Hits 505 505
Misses 2 2
Partials 1 1 Continue to review full report in Codecov by Sentry.
|
| 'mongetter,backend', | ||
| [ | ||
| (_test_mongetter, 'mongo'), | ||
| # (_test_mongetter, 'mongo'), # Please do NOT test the mongo backend |
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.
why not rather mark it with
pytest.param(_test_mongetter, 'mongo', marks=pytest.mark.mongo)
instead of duplicating whole test
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.
Oops. I didn't know you're going to review in time. :P
Anyway, I didn't know you could do that with pytest!
Let's try that later. You can work it into your suite separation PR, or later; I'm not sure I understand the exact syntax you refer to.
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.
seems that this parameter marking was already used in the tests, see: #145
No description provided.