box / flaky

Plugin for nose or pytest that automatically reruns flaky tests.
Apache License 2.0
377 stars 60 forks source link

Integration problem with other pytest plugins #175

Closed OlehKyba closed 3 years ago

OlehKyba commented 3 years ago

Hi, I have an integration issue with the flexmock and pytest. Flexmock teardown hook doesn't work with flaky, because of very dirty call_runtest_hook patch. We can just change this import on this, to make flaky one that integrates with such pytest plugins:

from _pytest import runner

See this PR: https://github.com/box/flaky/pull/176

Jeff-Meadows commented 3 years ago

Closed by #176