Merge "Fill *_id information for client when using static accounts" into mcp/caracal
diff --git a/neutron_tempest_plugin/api/base.py b/neutron_tempest_plugin/api/base.py
index b659637..db84a7c 100644
--- a/neutron_tempest_plugin/api/base.py
+++ b/neutron_tempest_plugin/api/base.py
@@ -121,6 +121,11 @@
super(BaseNetworkTest, cls).setup_clients()
cls.client = cls.os_primary.network_client
+ # NOTE(vsaienko): when using static accounts we need
+ # to fill *_id information like project_id, user_id
+ # by authenticating in keystone
+ cls.client.auth_provider.get_token()
+
@classmethod
def resource_setup(cls):
super(BaseNetworkTest, cls).resource_setup()