
Unit tests are not testing the behavior of command-line client code properly since mox was replaced with mock in [1]. [1] https://review.openstack.org/#/c/313165/ assert_called_once_with() should be called after the target call of the patched method. Change-Id: I99873e9cb1d75d1fa2e41c02b9f87dfa4f9ef1f7 Partial-Bug: #1572706