Move cred_provider abstract class to tempest lib

This commit migrates the cred provider abstract class into tempest lib.
This interface has been very stable and doesn't have any external
dependencies as it's just a building block for a cred provider class.
This also doesn't have any unit tests because it's just an interface
definition and doesn't actually do any work.

Change-Id: Ib5f8ef2728368c077666a3ca221cf659412e5f47
This commit is contained in:
Matthew Treinish 2016-10-07 16:29:18 -04:00
parent 75abbcf11f
commit 00ab6be2a7
No known key found for this signature in database
GPG Key ID: FD12A0F214C9E177
5 changed files with 9 additions and 3 deletions

View File

@ -0,0 +1,6 @@
---
features:
- The cred_provider abstract class which serves as the basis for both
of tempest's cred providers, pre-provisioned credentials and dynamic
credentials, is now a library interface. This provides the common signature
required for building a credential provider.

View File

@ -18,9 +18,9 @@ import six
from tempest import clients
from tempest.common import cred_client
from tempest.common import cred_provider
from tempest.common.utils import data_utils
from tempest import exceptions
from tempest.lib.common import cred_provider
from tempest.lib import exceptions as lib_exc
LOG = logging.getLogger(__name__)

View File

@ -21,10 +21,10 @@ import six
import yaml
from tempest import clients
from tempest.common import cred_provider
from tempest.common import fixed_network
from tempest import exceptions
from tempest.lib import auth
from tempest.lib.common import cred_provider
from tempest.lib import exceptions as lib_exc
LOG = logging.getLogger(__name__)

View File

@ -23,10 +23,10 @@ from oslotest import mockpatch
import shutil
import six
from tempest.common import cred_provider
from tempest.common import preprov_creds
from tempest import config
from tempest.lib import auth
from tempest.lib.common import cred_provider
from tempest.lib import exceptions as lib_exc
from tempest.tests import base
from tempest.tests import fake_config