File tree Expand file tree Collapse file tree
functional/tests/volume/v1 Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010# License for the specific language governing permissions and limitations
1111# under the License.
1212
13+ import os
1314import uuid
1415
1516from functional .tests .volume .v1 import common
@@ -25,6 +26,7 @@ class VolumeTests(common.BaseVolumeTests):
2526
2627 @classmethod
2728 def setUpClass (cls ):
29+ os .environ ['OS_VOLUME_API_VERSION' ] = '1'
2830 opts = cls .get_show_opts (cls .FIELDS )
2931 raw_output = cls .openstack ('volume create --size 1 ' + cls .NAME + opts )
3032 expected = cls .NAME + '\n '
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ OPENSTACKCLIENT_DIR=$(cd $(dirname "$0") && pwd)
1212
1313echo " Running openstackclient functional test suite"
1414sudo -H -u stack -i << !
15- source ~stack/devstack/accrc/ admin/ admin
15+ source ~stack/devstack/openrc admin admin
1616echo 'Running tests with:'
1717env | grep OS_
1818cd ${OPENSTACKCLIENT_DIR}
You can’t perform that action at this time.
0 commit comments