Use osc-lib instead of openstackclient
osc-lib is a package of common support modules for writing OSC plugins. All common functions, classes such as exceptions, utils, logs and so on have been moved from openstackclient to osc-lib. So use osc-lib instead of openstackclient. Change-Id: Ic158ee6d74f73b4629f9f35f6f29e5a4e99b5258
This commit is contained in:
parent
641e12e202
commit
cf7425be7e
@ -11,3 +11,4 @@ jsonschema!=2.5.0,<3.0.0,>=2.0.0 # MIT
|
||||
oslo.i18n>=2.1.0 # Apache-2.0
|
||||
|
||||
python-keystoneclient!=1.8.0,!=2.1.0,>=1.7.0 # Apache-2.0
|
||||
osc-lib>=0.1.0 # Apache-2.0
|
||||
|
@ -27,4 +27,3 @@ sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2 # BSD
|
||||
os-client-config>=1.13.1 # Apache-2.0
|
||||
oslosphinx!=3.4.0,>=2.5.0 # Apache-2.0
|
||||
openstack-doc-tools>=0.23 # Apache-2.0
|
||||
python-openstackclient>=2.1.0 # Apache-2.0
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
|
||||
import mock
|
||||
from openstackclient.tests import utils
|
||||
from osc_lib.tests import utils
|
||||
|
||||
|
||||
class TestMessaging(utils.TestCommand):
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
import logging
|
||||
|
||||
from openstackclient.common import utils
|
||||
from osc_lib import utils
|
||||
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
@ -18,8 +18,8 @@ import logging
|
||||
from cliff import command
|
||||
from cliff import lister
|
||||
from cliff import show
|
||||
from osc_lib import utils
|
||||
|
||||
from openstackclient.common import utils
|
||||
from zaqarclient.transport import errors
|
||||
|
||||
|
||||
|
@ -18,8 +18,8 @@ import logging
|
||||
from cliff import command
|
||||
from cliff import lister
|
||||
from cliff import show
|
||||
from osc_lib import utils
|
||||
|
||||
from openstackclient.common import utils
|
||||
from zaqarclient.queues.v1 import cli
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user