As Steve mentioned, you need to import OS_* envvars.
A user with admin role is required to pass all functional tests.
What I usually do is "export OS_CLOUD=devstack-admin" (if you use DevStack).
2017-07-04 22:01 GMT+09:00 Steve Martinelli :
> Looks like running tox will pass along any environment
Looks like running tox will pass along any environment variables with the
prefix "OS_" from the shell to tox, see
https://github.com/openstack/python-openstackclient/blob/master/tox.ini#L55
So as long as you've sourced or exported a bunch of env. variables, you
should be ready to run tests. You do
Hello all,
I am running functional tests for openstackclient.
By using this command sudo tox -efunctional
It gives me this error
setUpClass
(openstackclient.tests.functional.volume.v3.test_snapshot.VolumeSnapshotTests)