mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
removed unused imports
This commit is contained in:
parent
1cd1c13f78
commit
511779b8ca
6 changed files with 5 additions and 19 deletions
|
@ -5,16 +5,10 @@
|
|||
|
||||
# Import Python Libs
|
||||
from __future__ import absolute_import, print_function, unicode_literals
|
||||
import os
|
||||
|
||||
# Import Salt Testing Libs
|
||||
from tests.support.paths import FILES
|
||||
from tests.support.helpers import expensiveTest
|
||||
from tests.support.unit import skipIf
|
||||
|
||||
# Import Salt Libs
|
||||
from salt.config import cloud_providers_config
|
||||
|
||||
# Create the cloud instance name to be used throughout the tests
|
||||
from tests.integration.cloud.helpers.cloud_test_base import CloudTest, TIMEOUT
|
||||
|
||||
|
|
|
@ -5,16 +5,10 @@
|
|||
|
||||
# Import Python Libs
|
||||
from __future__ import absolute_import, print_function, unicode_literals
|
||||
import os
|
||||
|
||||
# Import Salt Testing Libs
|
||||
from tests.support.helpers import expensiveTest
|
||||
from tests.support.paths import FILES
|
||||
from tests.support.unit import skipIf
|
||||
|
||||
# Import Salt Libs
|
||||
from salt.config import cloud_providers_config
|
||||
|
||||
# Create the cloud instance name to be used throughout the tests
|
||||
from tests.integration.cloud.helpers.cloud_test_base import CloudTest, TIMEOUT
|
||||
|
||||
|
|
|
@ -9,9 +9,7 @@ import logging
|
|||
|
||||
# Import Salt Testing Libs
|
||||
from tests.integration.cloud.helpers.cloud_test_base import TIMEOUT, CloudTest
|
||||
from tests.support.paths import FILES
|
||||
from tests.support.unit import skipIf
|
||||
from tests.support.helpers import expensiveTest
|
||||
|
||||
# Import Salt Libs
|
||||
from salt.utils.versions import LooseVersion
|
||||
|
|
|
@ -10,7 +10,7 @@ import logging
|
|||
# Import Salt Testing libs
|
||||
from tests.support.case import ModuleCase
|
||||
from tests.support.unit import skipIf
|
||||
from tests.support.helpers import destructiveTest, expensiveTest
|
||||
from tests.support.helpers import destructiveTest
|
||||
from tests.support.mixins import SaltReturnAssertsMixin
|
||||
|
||||
# Import Salt Libs
|
||||
|
|
|
@ -8,7 +8,7 @@ from __future__ import absolute_import, print_function, unicode_literals
|
|||
import os
|
||||
|
||||
# Import Salt Libs
|
||||
from salt.config import cloud_providers_config, cloud_config
|
||||
from salt.config import cloud_config
|
||||
from salt.ext import six
|
||||
|
||||
# Import Salt Testing LIbs
|
||||
|
|
|
@ -14,7 +14,7 @@ from tests.support.helpers import generate_random_name, expensiveTest
|
|||
from tests.support.paths import FILES
|
||||
|
||||
# Import Salt Libs
|
||||
from salt.config import cloud_providers_config, cloud_config
|
||||
from salt.config import cloud_providers_config
|
||||
from salt.ext.six.moves import range
|
||||
from salt.utils import path
|
||||
|
||||
|
@ -24,8 +24,8 @@ log = logging.getLogger(__name__)
|
|||
|
||||
|
||||
class CloudTest(ShellCase):
|
||||
PROVIDER = None
|
||||
REQUIRED_CONFIG_ITEMS = None
|
||||
PROVIDER = ''
|
||||
REQUIRED_CONFIG_ITEMS = tuple()
|
||||
|
||||
def _instance_exists(self, instance_name=None):
|
||||
# salt-cloud -a show_instance myinstance
|
||||
|
|
Loading…
Add table
Reference in a new issue