summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorFlorian Bruhin <git@the-compiler.org>2015-11-03 22:41:56 +0100
committerFlorian Bruhin <git@the-compiler.org>2015-11-03 22:41:56 +0100
commit49137150add5a92cf398e1972ffff73990095504 (patch)
tree6d96f1d3d973855a65093f56ef369825f803e9a7 /tests
parent2427bf5cb636729819b31302960904038c6fb765 (diff)
downloadqutebrowser-49137150add5a92cf398e1972ffff73990095504.tar.gz
qutebrowser-49137150add5a92cf398e1972ffff73990095504.zip
tests: Print raw yaml in get_session() in QuteProc.
Diffstat (limited to 'tests')
-rw-r--r--tests/integration/quteprocess.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/integration/quteprocess.py b/tests/integration/quteprocess.py
index 029f63ac8..c5d839dc2 100644
--- a/tests/integration/quteprocess.py
+++ b/tests/integration/quteprocess.py
@@ -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')