Retry failed dummyserver tests once - #1718
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1718 +/- ##
=======================================
Coverage 99.65% 99.65%
=======================================
Files 22 22
Lines 2006 2006
=======================================
Hits 1999 1999
Misses 7 7Continue to review full report at Codecov.
|
sethmlarson
left a comment
There was a problem hiding this comment.
Looks good, just one question.
There was a problem hiding this comment.
I've never seen this construction before, where is it documented? Must it be named pytestmark?
There was a problem hiding this comment.
Yes: http://doc.pytest.org/en/latest/example/markers.html#marking-whole-classes-or-modules
I agree that it's quite obscure, which is why I added the comment. But it's way more convenient than marking every class or every test. Another option is do this for all tests, not only dummyserver tests: we could simply use a command-line option then.
There was a problem hiding this comment.
Today I learned! This looks good ready to go then. :)
Closes #1595