Merge "Removing superfluous imports from tests"
This commit is contained in:
commit
94a3ddbe43
@ -27,7 +27,6 @@ except ImportError:
|
|||||||
from validations_common.tests import base
|
from validations_common.tests import base
|
||||||
from validations_common.tests import fakes
|
from validations_common.tests import fakes
|
||||||
|
|
||||||
import validations_common.library.reportentry as validation
|
|
||||||
from validations_common.callback_plugins import fail_if_no_hosts
|
from validations_common.callback_plugins import fail_if_no_hosts
|
||||||
|
|
||||||
from ansible.plugins.callback import CallbackBase
|
from ansible.plugins.callback import CallbackBase
|
||||||
|
@ -34,7 +34,6 @@ from ansible.parsing.ajson import AnsibleJSONEncoder
|
|||||||
from ansible.playbook import Playbook
|
from ansible.playbook import Playbook
|
||||||
from ansible.plugins.callback import CallbackBase
|
from ansible.plugins.callback import CallbackBase
|
||||||
|
|
||||||
import validations_common.library.reportentry as validation
|
|
||||||
from validations_common.callback_plugins import validation_json
|
from validations_common.callback_plugins import validation_json
|
||||||
|
|
||||||
|
|
||||||
|
@ -29,7 +29,6 @@ from validations_common.tests import fakes
|
|||||||
|
|
||||||
from ansible.plugins.callback import CallbackBase
|
from ansible.plugins.callback import CallbackBase
|
||||||
|
|
||||||
import validations_common.library.reportentry as validation
|
|
||||||
from validations_common.callback_plugins import validation_output
|
from validations_common.callback_plugins import validation_output
|
||||||
|
|
||||||
|
|
||||||
|
@ -19,7 +19,6 @@ test_validation_stdout
|
|||||||
Tests for `validation_stdout` callback plugin.
|
Tests for `validation_stdout` callback plugin.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
import os
|
|
||||||
import re
|
import re
|
||||||
|
|
||||||
try:
|
try:
|
||||||
@ -30,7 +29,6 @@ except ImportError:
|
|||||||
from validations_common.tests import base
|
from validations_common.tests import base
|
||||||
from validations_common.tests import fakes
|
from validations_common.tests import fakes
|
||||||
|
|
||||||
import validations_common.library.reportentry as validation
|
|
||||||
from validations_common.callback_plugins import validation_stdout
|
from validations_common.callback_plugins import validation_stdout
|
||||||
|
|
||||||
from ansible.plugins.callback import CallbackBase
|
from ansible.plugins.callback import CallbackBase
|
||||||
|
@ -20,8 +20,6 @@ except ImportError:
|
|||||||
from validations_common.tests import base
|
from validations_common.tests import base
|
||||||
from validations_common.tests import fakes
|
from validations_common.tests import fakes
|
||||||
|
|
||||||
import subprocess
|
|
||||||
|
|
||||||
from validations_common.library import check_package_update as cppkg
|
from validations_common.library import check_package_update as cppkg
|
||||||
|
|
||||||
PKG_INSTALLED = "foo-package|6.1.5|1|x86_64"
|
PKG_INSTALLED = "foo-package|6.1.5|1|x86_64"
|
||||||
|
Loading…
Reference in New Issue
Block a user