tests: Print raw yaml in get_session() in QuteProc.
This commit is contained in:
parent
2427bf5cb6
commit
49137150ad
@ -232,7 +232,10 @@ class QuteProc(testprocess.Process):
|
|||||||
self.wait_for(category='message', loglevel=logging.INFO,
|
self.wait_for(category='message', loglevel=logging.INFO,
|
||||||
message='Saved session {}.'.format(session))
|
message='Saved session {}.'.format(session))
|
||||||
with open(session, encoding='utf-8') as f:
|
with open(session, encoding='utf-8') as f:
|
||||||
return yaml.load(f)
|
data = f.read()
|
||||||
|
|
||||||
|
print(data)
|
||||||
|
return yaml.load(data)
|
||||||
|
|
||||||
|
|
||||||
@pytest.yield_fixture(scope='module')
|
@pytest.yield_fixture(scope='module')
|
||||||
|
Loading…
Reference in New Issue
Block a user