Fix logging on the prepare stage

When test fails on the prepare fixture stage
the logs capturing is not working
Patch adds snapshot fixture call to the
prepare function

Closes-Bug:1669369

Change-Id: Icb280957ef2801acea48394acc432e56b835e97a
This commit is contained in:
Alexander Kurenyshev 2017-03-03 15:48:39 +03:00
parent 96f000fa51
commit a769b13698
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ def snapshot(request):
@pytest.fixture(scope='function', autouse=True)
def prepare(request):
def prepare(request, snapshot):
"""Fixture for prepearing environment for test.
Provided two marker behaviour: