The zhmcclient mock support returns properties that are not independent of the internal state. For non-mutable property value types that is not a problem, but if a property is a dict or list, that is a problem, because subsequent changes of the internal object state are immediately visible to a user that retrieved the object's properties previously.
The zhmcclient mock support returns properties that are not independent of the internal state. For non-mutable property value types that is not a problem, but if a property is a dict or list, that is a problem, because subsequent changes of the internal object state are immediately visible to a user that retrieved the object's properties previously.
This flaw was discovered as part of the PR for https://github.com/zhmcclient/zhmc-ansible-modules/issues/716