Make pytest_rerunfailures work with frozen tests
This commit is contained in:
parent
4054992583
commit
41fcf0ed33
@ -56,8 +56,7 @@ def get_build_exe_options():
|
||||
opts['includes'] += pytest.freeze_includes() # pylint: disable=no-member
|
||||
opts['includes'] += ['unittest.mock', 'PyQt5.QtTest', 'hypothesis', 'bs4',
|
||||
'httpbin', 'jinja2.ext', 'cherrypy.wsgiserver',
|
||||
'cherrypy.wsgiserver.wsgiserver3', 'pstats',
|
||||
'pytest_rerunfailures']
|
||||
'cherrypy.wsgiserver.wsgiserver3', 'pstats']
|
||||
|
||||
httpbin_dir = os.path.dirname(httpbin.__file__)
|
||||
opts['include_files'] += [
|
||||
|
@ -29,7 +29,9 @@ import pytest_catchlog
|
||||
import pytest_instafail
|
||||
import pytest_faulthandler
|
||||
import pytest_xvfb
|
||||
import pytest_rerunfailures
|
||||
|
||||
sys.exit(pytest.main(plugins=[pytestqt.plugin, pytest_mock,
|
||||
pytest_catchlog, pytest_instafail,
|
||||
pytest_faulthandler, pytest_xvfb]))
|
||||
pytest_faulthandler, pytest_xvfb,
|
||||
pytest_rerunfailures]))
|
||||
|
Loading…
Reference in New Issue
Block a user