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 11
11
conf .read (root_path + "/config.ini" )
12
12
13
13
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")
25
25
26
26
27
27
def _get_default_connection_args ():
You can’t perform that action at this time.
0 commit comments