提交 3c11a661 编写于 作者: C Cleber Rosa

Merge branch 'test_api_refactoring_sysinfo'

...@@ -29,7 +29,9 @@ import fnmatch ...@@ -29,7 +29,9 @@ import fnmatch
from avocado import multiplexer from avocado import multiplexer
from avocado import result from avocado import result
from avocado import runtime from avocado import runtime
from avocado import sysinfo from avocado.core import runner
from avocado.core import loader
from avocado.core import sysinfo
from avocado.core import runner from avocado.core import runner
from avocado.core import loader from avocado.core import loader
from avocado.core import data_dir from avocado.core import data_dir
......
...@@ -16,7 +16,7 @@ System information plugin ...@@ -16,7 +16,7 @@ System information plugin
""" """
from avocado.plugins import plugin from avocado.plugins import plugin
from avocado import sysinfo from avocado.core import sysinfo
class SystemInformation(plugin.Plugin): class SystemInformation(plugin.Plugin):
......
...@@ -31,7 +31,8 @@ if sys.version_info[:2] == (2, 6): ...@@ -31,7 +31,8 @@ if sys.version_info[:2] == (2, 6):
else: else:
import unittest import unittest
from avocado import sysinfo, multiplexer from avocado import multiplexer
from avocado.core import sysinfo
from avocado.core import data_dir from avocado.core import data_dir
from avocado.core import exceptions from avocado.core import exceptions
from avocado.utils import genio from avocado.utils import genio
......
...@@ -14,7 +14,7 @@ basedir = os.path.dirname(basedir) ...@@ -14,7 +14,7 @@ basedir = os.path.dirname(basedir)
if os.path.isdir(os.path.join(basedir, 'avocado')): if os.path.isdir(os.path.join(basedir, 'avocado')):
sys.path.append(basedir) sys.path.append(basedir)
from avocado import sysinfo from avocado.core import sysinfo
class SysinfoTest(unittest.TestCase): class SysinfoTest(unittest.TestCase):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册