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:
parent
b9b21c823b
commit
0de247948b
@ -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(),
|
||||
)
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user