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:
Chris Dent 2019-09-23 13:13:15 +01:00
parent 8bbca01dbd
commit f49b9fcc81

View File

@ -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: