tests: Print raw yaml in get_session() in QuteProc.

This commit is contained in:
Florian Bruhin 2015-11-03 22:41:56 +01:00
parent 2427bf5cb6
commit 49137150ad

View File

@ -232,7 +232,10 @@ class QuteProc(testprocess.Process):
self.wait_for(category='message', loglevel=logging.INFO,
message='Saved session {}.'.format(session))
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')