Pass a real session to ironicclient in _get_fake_client

Using a dict is not guaranteed to work (and actually doesn't with
ironicclient 3.0.0, although a few other things are broken with it).

Change-Id: I59c113b22c60f04e89a631ade8039c4fa62933dc
This commit is contained in:
Dmitry Tantsur 2019-09-25 14:29:21 +02:00
parent b9b21c823b
commit 0de247948b
1 changed files with 1 additions and 1 deletions

View File

@ -362,7 +362,7 @@ class IronicAction(base.OpenStackAction):
def _get_fake_client(cls):
return cls._get_client_class()(
endpoint_override="http://127.0.0.1:6385/",
session={"fake": "session"}
session=ks_session.Session(),
)