Use os-endpoint instead of os-url for functional tests
The functional tests use an explicit endpoint and token for auth to the placement fixture. Before openstack client 4.0.0 os-url was a way to specify the endpoint. Now os-endpoint is the way. Update accordingly. Note that this doesn't impact the behavior of the plugin itself, just the tests. Change-Id: Id4f8f0224f61c1741e6a1a8369ec053bb1824e8a
This commit is contained in:
parent
8bbca01dbd
commit
f49b9fcc81
@ -84,7 +84,7 @@ class BaseTestCase(base.BaseTestCase):
|
||||
to_exec = []
|
||||
# Make all requests as a noauth admin user.
|
||||
to_exec += [
|
||||
'--os-url', self.placement.endpoint,
|
||||
'--os-endpoint', self.placement.endpoint,
|
||||
'--os-token', self.placement.token,
|
||||
]
|
||||
if self.VERSION is not None:
|
||||
|
Loading…
Reference in New Issue
Block a user