avocado.cli.app: Remove unused imports

Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
上级 dbdb2635
......@@ -2,13 +2,8 @@
The core Avocado application.
"""
import imp
import logging
import os
import time
from argparse import ArgumentParser
from avocado import sysinfo
from avocado.plugins.manager import get_plugin_manager
......
......@@ -13,6 +13,7 @@ class synctest(test.Test):
"""
def setup(self, tarball='synctest.tar.bz2'):
self.cwd = os.getcwd()
tarball_path = self.get_deps_path(tarball)
archive.extract(tarball_path, self.srcdir)
self.srcdir = os.path.join(self.srcdir, 'synctest')
......@@ -22,3 +23,4 @@ class synctest(test.Test):
os.chdir(self.srcdir)
cmd = './synctest %s %s' % (length, loop)
process.system(cmd)
os.chdir(self.cwd)
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册