mooli tayer has uploaded a new change for review.
Change subject: toolTests: Fix pyflakes error. ......................................................................
toolTests: Fix pyflakes error.
At change 32713 I introduced a pyflakes violation: ./tests/toolTests.py:309: undefined name 'Libvirt'
Change-Id: Ibb8fb3a8413d97d3ad6dca6ccbb81748facafe84 Signed-off-by: Mooli Tayer mtayer@redhat.com --- M tests/toolTests.py 1 file changed, 2 insertions(+), 1 deletion(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/31/33531/1
diff --git a/tests/toolTests.py b/tests/toolTests.py index 058c038..67d9f6b 100644 --- a/tests/toolTests.py +++ b/tests/toolTests.py @@ -306,7 +306,8 @@ with open(os.path.join(dirName, 'toolTests_%s.conf' % type_)) as template: data = template.read() - data = data % {'LATEST_CONF_VERSION': Libvirt.CONF_VERSION} + data = data % { + 'LATEST_CONF_VERSION': libvirt.Configurator.CONF_VERSION} with open(self.test_env[file_], 'w') as testConf: testConf.write(data)