All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lucas Meneghel Rodrigues <lmr@redhat.com>
To: autotest@test.kernel.org
Cc: kvm@vger.kernel.org, Lucas Meneghel Rodrigues <lmr@redhat.com>
Subject: [PATCH] KVM test: nic_bonding: Introduce absolute namespace for test imports
Date: Wed, 12 Jan 2011 14:15:45 -0200	[thread overview]
Message-ID: <1294848945-8340-1-git-send-email-lmr@redhat.com> (raw)

In order to avoid namespace collisions, turn the kvm test dir into
a module and, whenever importing full tests, use the complete
namespace. The full namespace might not be pretty, but it is
certainly safer, specially executing from autoserv.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
---
 client/tests/kvm/tests/nic_bonding.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
 create mode 100644 client/tests/kvm/__init__.py

diff --git a/client/tests/kvm/__init__.py b/client/tests/kvm/__init__.py
new file mode 100644
index 0000000..e69de29
diff --git a/client/tests/kvm/tests/nic_bonding.py b/client/tests/kvm/tests/nic_bonding.py
index 692978c..ca9d70a 100644
--- a/client/tests/kvm/tests/nic_bonding.py
+++ b/client/tests/kvm/tests/nic_bonding.py
@@ -1,6 +1,6 @@
 import logging, time, threading
 from autotest_lib.client.common_lib import error
-from tests import file_transfer
+from autotest_lib.client.tests.kvm.tests import file_transfer
 import kvm_test_utils, kvm_utils
 
 def run_nic_bonding(test, params, env):
-- 
1.7.3.4


                 reply	other threads:[~2011-01-12 16:15 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1294848945-8340-1-git-send-email-lmr@redhat.com \
    --to=lmr@redhat.com \
    --cc=autotest@test.kernel.org \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.