Fix usage of v1 and v2 availability zones
Change usage of availability zones in client. V2 client should use appropriate version of manager of availability zones. Also change tests of v2 availability zones to test version 2 instead of one more time test v1 availability zones. Change-Id: Iec3863a105a20f876a303f789cc1edfafa58f4df Closes-Bug: #1290956
This commit is contained in:
@@ -16,10 +16,10 @@
|
||||
|
||||
import six
|
||||
|
||||
from cinderclient.v1 import availability_zones
|
||||
from cinderclient.v1 import shell
|
||||
from cinderclient.v2 import availability_zones
|
||||
from cinderclient.v2 import shell
|
||||
from cinderclient.tests import utils
|
||||
from cinderclient.tests.v1 import fakes
|
||||
from cinderclient.tests.v2 import fakes
|
||||
|
||||
|
||||
cs = fakes.FakeClient()
|
||||
|
@@ -14,7 +14,7 @@
|
||||
# under the License.
|
||||
|
||||
from cinderclient import client
|
||||
from cinderclient.v1 import availability_zones
|
||||
from cinderclient.v2 import availability_zones
|
||||
from cinderclient.v2 import limits
|
||||
from cinderclient.v2 import qos_specs
|
||||
from cinderclient.v2 import quota_classes
|
||||
|
Reference in New Issue
Block a user