The NetTestCommand module is deprecated and will be removed.
Signed-off-by: Jan Tluka <jtluka(a)redhat.com>
---
lnst/Controller/Job.py | 3 ++-
lnst/Controller/Namespace.py | 2 +-
lnst/Controller/NetNamespace.py | 1 -
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/lnst/Controller/Job.py b/lnst/Controller/Job.py
index 3e5b3e6..1ec85e3 100644
--- a/lnst/Controller/Job.py
+++ b/lnst/Controller/Job.py
@@ -14,10 +14,11 @@ olichtne(a)redhat.com (Ondrej Lichtner)
import logging
import signal
from lnst.Common.JobError import JobError
-from lnst.Common.NetTestCommand import DEFAULT_TIMEOUT
from lnst.Tests.BaseTestModule import BaseTestModule
from lnst.Controller.RecipeResults import ResultLevel
+DEFAULT_TIMEOUT = 60
+
class Job(object):
"""Tester facing Job API
diff --git a/lnst/Controller/Namespace.py b/lnst/Controller/Namespace.py
index 6d96e7d..49d25dc 100644
--- a/lnst/Controller/Namespace.py
+++ b/lnst/Controller/Namespace.py
@@ -16,7 +16,7 @@ olichtne(a)redhat.com (Ondrej Lichtner)
import logging
from abc import ABCMeta
-from lnst.Common.NetTestCommand import DEFAULT_TIMEOUT
+from lnst.Controller.Job import DEFAULT_TIMEOUT
from lnst.Devices.Device import Device
from lnst.Devices.VirtualDevice import VirtualDevice
from lnst.Devices.RemoteDevice import RemoteDevice
diff --git a/lnst/Controller/NetNamespace.py b/lnst/Controller/NetNamespace.py
index aa5b777..cb04b25 100644
--- a/lnst/Controller/NetNamespace.py
+++ b/lnst/Controller/NetNamespace.py
@@ -12,7 +12,6 @@ olichtne(a)redhat.com (Ondrej Lichtner)
"""
import logging
-from lnst.Common.NetTestCommand import DEFAULT_TIMEOUT
from lnst.Devices.VirtualDevice import VirtualDevice
from lnst.Devices.RemoteDevice import RemoteDevice
from lnst.Controller.Namespace import Namespace
--
2.21.1