On Thu, Aug 1, 2013 at 11:18 AM, Thomas Thrainer <[email protected]>wrote:

> Also mock the netutils and ssh module in order to test all code paths.
>
> Signed-off-by: Thomas Thrainer <[email protected]>
> ---
>  Makefile.am                                   |   5 +-
>  test/py/cmdlib/cluster_unittest.py            |  46 ++++++++++
>  test/py/cmdlib/testsupport/__init__.py        |   7 +-
>  test/py/cmdlib/testsupport/cmdlib_testcase.py |  33 +++++++-
>  test/py/cmdlib/testsupport/iallocator_mock.py |   6 +-
>  test/py/cmdlib/testsupport/netutils_mock.py   | 116
> ++++++++++++++++++++++++++
>  test/py/cmdlib/testsupport/ssh_mock.py        |  39 +++++++++
>  test/py/cmdlib/testsupport/util.py            |  41 +++++++++
>  8 files changed, 284 insertions(+), 9 deletions(-)
>  create mode 100644 test/py/cmdlib/testsupport/netutils_mock.py
>  create mode 100644 test/py/cmdlib/testsupport/ssh_mock.py
>  create mode 100644 test/py/cmdlib/testsupport/util.py
>
>
LGTM, thanks.

Michele

-- 
Google Germany GmbH
Dienerstr. 12
80331 München

Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Geschäftsführer: Graham Law, Christine Elizabeth Flores

Reply via email to