tests: Use __tracebackhide__ in wait_for methods.
This commit is contained in:
parent
ce66d731f2
commit
0085421ec6
@ -224,6 +224,7 @@ class QuteProc(testprocess.Process):
|
|||||||
self._data is cleared after every test to provide at least some
|
self._data is cleared after every test to provide at least some
|
||||||
isolation.
|
isolation.
|
||||||
"""
|
"""
|
||||||
|
__tracebackhide__ = True
|
||||||
return super().wait_for(timeout, **kwargs)
|
return super().wait_for(timeout, **kwargs)
|
||||||
|
|
||||||
def wait_for_load_finished(self, path, timeout=15000):
|
def wait_for_load_finished(self, path, timeout=15000):
|
||||||
|
@ -227,6 +227,7 @@ class Process(QObject):
|
|||||||
Return:
|
Return:
|
||||||
The matched line.
|
The matched line.
|
||||||
"""
|
"""
|
||||||
|
__tracebackhide__ = True
|
||||||
if timeout is None:
|
if timeout is None:
|
||||||
if 'CI' in os.environ:
|
if 'CI' in os.environ:
|
||||||
timeout = 15000
|
timeout = 15000
|
||||||
|
Loading…
Reference in New Issue
Block a user