diff mbox

Fix import of modules from inside the kvm module.

Message ID 1243884646-17502-1-git-send-email-lmr@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Lucas Meneghel Rodrigues June 1, 2009, 7:30 p.m. UTC
Import of modules present inside the kvm test is broken due to
a path that wasn't converted when the test got renamed from
kvm_runtest_2 to kvm. Fixing the problem.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
---
 client/tests/kvm/control |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

Comments

Lucas Meneghel Rodrigues June 5, 2009, 1:53 p.m. UTC | #1
On Mon, 2009-06-01 at 16:30 -0300, Lucas Meneghel Rodrigues wrote:
> Import of modules present inside the kvm test is broken due to
> a path that wasn't converted when the test got renamed from
> kvm_runtest_2 to kvm. Fixing the problem.

Applied to trunk.
diff mbox

Patch

diff --git a/client/tests/kvm/control b/client/tests/kvm/control
index eb38686..154d513 100644
--- a/client/tests/kvm/control
+++ b/client/tests/kvm/control
@@ -45,8 +45,8 @@  Each test is appropriately documented on each test docstrings.
 
 import sys, os
 
-# enable modules import from current directory (tests/kvm_runtest_2)
-pwd = os.path.join(os.environ['AUTODIR'],'tests/kvm_runtest_2')
+# enable modules import from current directory (tests/kvm)
+pwd = os.path.join(os.environ['AUTODIR'],'tests/kvm')
 sys.path.append(pwd)
 
 # ------------------------