commit 3ad1e549edeeebdcb20eb41a1851fc1d333989f9
Author: Ondrej Lichtner <olichtne(a)redhat.com>
Date: Tue Nov 20 15:06:00 2012 +0100
NetTestCommand import fix
NetTestCommand module is being incorrectly imported after the
restructurization of the project tree. This patch fixes that.
Signed-off-by: Ondrej Lichtner <olichtne(a)redhat.com>
lnst/Controller/NetTestResultSerializer.py | 2 +-
test_modules/TestMulticast.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/lnst/Controller/NetTestResultSerializer.py
b/lnst/Controller/NetTestResultSerializer.py
index 3505a33..499a076 100644
--- a/lnst/Controller/NetTestResultSerializer.py
+++ b/lnst/Controller/NetTestResultSerializer.py
@@ -12,7 +12,7 @@ jpirko(a)redhat.com (Jiri Pirko)
"""
from xml.dom.minidom import getDOMImplementation
-from lnst.Controller.NetTestCommand import str_command
+from lnst.Common.NetTestCommand import str_command
def serialize_obj(obj, dom, el, upper_name="unnamed"):
if isinstance(obj, dict):
diff --git a/test_modules/TestMulticast.py b/test_modules/TestMulticast.py
index 91a9d53..25422f6 100644
--- a/test_modules/TestMulticast.py
+++ b/test_modules/TestMulticast.py
@@ -13,7 +13,7 @@ rpazdera(a)redhat.com (Radek Pazdera)
import logging
import re
from lnst.Common.TestsCommon import TestGeneric
-from lnst.Controller.NetTestCommand import CommandException
+from lnst.Common.NetTestCommand import CommandException
from lnst.Common.ExecCmd import exec_cmd
class TestMulticast(TestGeneric):
Show replies by date