Dan Kenigsberg has uploaded a new change for review.
Change subject: vm tests: avoid leaving /tmp/blechs.recovery behind ......................................................................
vm tests: avoid leaving /tmp/blechs.recovery behind
There's code that expects P_VDSM_VAR_RUN to end with a slash.
Change-Id: I73e7628be87692d17a6a5f629c3370df37e22dc8 Signed-off-by: Dan Kenigsberg danken@redhat.com --- M tests/vmTests.py 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/97/26197/1
diff --git a/tests/vmTests.py b/tests/vmTests.py index 91bbefb..3f6f695 100644 --- a/tests/vmTests.py +++ b/tests/vmTests.py @@ -699,7 +699,7 @@ @contextmanager def FakeVM(params=None): with namedTemporaryDir() as tmpDir: - with MonkeyPatchScope([(constants, 'P_VDSM_RUN', tmpDir), + with MonkeyPatchScope([(constants, 'P_VDSM_RUN', tmpDir + '/'), (libvirtconnection, 'get', lambda x: ConnectionMock())]): vmParams = {'vmId': 'TESTING'}