[Kimchi-devel] [wok 2/3] Fix unnecessary/duplicated imports
Lucio Correia
luciojhc at linux.vnet.ibm.com
Tue Aug 11 19:07:01 UTC 2015
Signed-off-by: Lucio Correia <luciojhc at linux.vnet.ibm.com>
---
plugins/kimchi/tests/test_config.py.in | 2 --
plugins/kimchi/tests/test_exception.py | 2 --
plugins/kimchi/tests/test_plugin.py | 1 -
plugins/kimchi/tests/test_rest.py | 3 ---
4 files changed, 0 insertions(+), 8 deletions(-)
diff --git a/plugins/kimchi/tests/test_config.py.in b/plugins/kimchi/tests/test_config.py.in
index 6bca3df..19ae0ba 100644
--- a/plugins/kimchi/tests/test_config.py.in
+++ b/plugins/kimchi/tests/test_config.py.in
@@ -26,8 +26,6 @@ from wok.plugins.kimchi.config import get_debugreports_path
from wok.plugins.kimchi.config import get_screenshot_path
from wok.plugins.kimchi.config import KimchiPaths
-from wok.plugins.kimchi import config as kconfig
-
get_prefix = None
diff --git a/plugins/kimchi/tests/test_exception.py b/plugins/kimchi/tests/test_exception.py
index f1b81ba..d8c0296 100644
--- a/plugins/kimchi/tests/test_exception.py
+++ b/plugins/kimchi/tests/test_exception.py
@@ -21,8 +21,6 @@ import json
import os
import unittest
-import wok.server
-
from wok.plugins.kimchi import mockmodel
from utils import get_free_port, patch_auth, request, run_server
diff --git a/plugins/kimchi/tests/test_plugin.py b/plugins/kimchi/tests/test_plugin.py
index ebc4a39..fc8e277 100644
--- a/plugins/kimchi/tests/test_plugin.py
+++ b/plugins/kimchi/tests/test_plugin.py
@@ -22,7 +22,6 @@ import os
import unittest
from functools import partial
-import wok.server
from wok.utils import get_enabled_plugins
from wok.plugins.kimchi import mockmodel
diff --git a/plugins/kimchi/tests/test_rest.py b/plugins/kimchi/tests/test_rest.py
index 1a1ae6c..a3012c3 100644
--- a/plugins/kimchi/tests/test_rest.py
+++ b/plugins/kimchi/tests/test_rest.py
@@ -27,9 +27,6 @@ import urllib2
import urlparse
from functools import partial
-import iso_gen
-from wok.plugins.kimchi import mockmodel
-from wok.plugins.kimchi.osinfo import get_template_default
from wok.rollbackcontext import RollbackContext
from wok.utils import add_task
--
1.7.1
More information about the Kimchi-devel
mailing list