diff options
| author | Tang Chen <chen.tang@easystack.cn> | 2016-02-19 13:44:54 +0800 |
|---|---|---|
| committer | Tang Chen <chen.tang@easystack.cn> | 2016-02-19 13:44:54 +0800 |
| commit | 48681af86a1dfd50a8e90a9d7cd9068417cc52a9 (patch) | |
| tree | ca5db259ab04b107d5ebdeadfaca3d6b9538f822 /openstackclient/shell.py | |
| parent | 444fc6149db58361e5329e3f05eb8f056fb7479a (diff) | |
| download | python-openstackclient-48681af86a1dfd50a8e90a9d7cd9068417cc52a9.tar.gz | |
Don't use Mock.called_once_with that does not exist
Class mock.Mock does not exist method "called_once_with()", it just
exists method "assert_called_once_with()". "called_once_with()" does
nothing because it's a mock object.
In OSC, only one place is still using "called_once_with()". Fix it.
Change-Id: Ib890e95d775c3fc43df80fa05c82d726e78cdac8
Partial Bug: 1544522
Diffstat (limited to 'openstackclient/shell.py')
0 files changed, 0 insertions, 0 deletions
