File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed
Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change 1111conf .read (root_path + "/config.ini" )
1212
1313
14- @pytest .hookimpl (tryfirst = True , hookwrapper = True )
15- def pytest_runtest_makereport (item , call ):
16- # execute all other hooks to obtain the report object
17- outcome = yield
18- rep = outcome .get_result ()
19-
20- # we only look at actual failing test calls, not setup/teardown
21- if rep .when == "call" and rep .failed :
22- mode = "a" if os .path .exists ("failures" ) else "w"
23- with open ("failures" , mode ) as f :
24- f .write (rep .longreprtext + "\n " )
14+ # @pytest.hookimpl(tryfirst=True, hookwrapper=True)
15+ # def pytest_runtest_makereport(item, call):
16+ # # execute all other hooks to obtain the report object
17+ # outcome = yield
18+ # rep = outcome.get_result()
19+ #
20+ # # we only look at actual failing test calls, not setup/teardown
21+ # if rep.when == "call" and rep.failed:
22+ # mode = "a" if os.path.exists("failures") else "w"
23+ # with open("failures", mode) as f:
24+ # f.write(rep.longreprtext + "\n")
2525
2626
2727def _get_default_connection_args ():
You can’t perform that action at this time.
0 commit comments