Merge "Removing superfluous imports from tests"

This commit is contained in:
Zuul 2021-06-18 16:32:43 +00:00 committed by Gerrit Code Review
commit 94a3ddbe43
5 changed files with 0 additions and 7 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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"