[Kimchi-devel] [PATCH 0/2] Github #760: Enabling the import of WoK module /test/utils.py

Aline Manera alinefm at linux.vnet.ibm.com
Thu Nov 19 15:58:57 UTC 2015


Please, also update gingerbase to use the tests/utils.py from WOK and 
remove the correspond file from gingerbase (the same you did for kimchi)

On 18/11/2015 18:32, dhbarboza82 at gmail.com wrote:
> From: Daniel Henrique Barboza <dhbarboza82 at gmail.com>
>
> This patch set makes changes in WoK and Kimchi to allow the
> unit tests of all WoK plugins access to the /tests/utils.py
> module of WoK.
>
> This module is replicated at /plugins/kimchi/tests/utils.py and
> it was deleted.
>
>
> See https://github.com/kimchi-project/kimchi/issues/760 for further info
>
> Daniel Henrique Barboza (2):
>    WoK: making /tests/utils.py available to all WoK plug-ins
>    Kimchi: updating unit tests to use WoK /test/utils.py
>
>   src/wok/plugins/kimchi/tests/run_tests.sh.in       |   3 +-
>   src/wok/plugins/kimchi/tests/test_authorization.py |   9 +-
>   src/wok/plugins/kimchi/tests/test_host.py          |   4 +-
>   src/wok/plugins/kimchi/tests/test_livemigration.py |  21 +-
>   src/wok/plugins/kimchi/tests/test_mock_network.py  |   3 +-
>   .../plugins/kimchi/tests/test_mock_storagepool.py  |   4 +-
>   .../kimchi/tests/test_mock_storagevolume.py        |   3 +-
>   src/wok/plugins/kimchi/tests/test_mockmodel.py     |   5 +-
>   src/wok/plugins/kimchi/tests/test_model.py         |   3 +-
>   src/wok/plugins/kimchi/tests/test_model_network.py |   6 +-
>   .../plugins/kimchi/tests/test_model_storagepool.py |   4 +-
>   .../kimchi/tests/test_model_storagevolume.py       |   7 +-
>   src/wok/plugins/kimchi/tests/test_networkxml.py    |   7 +-
>   src/wok/plugins/kimchi/tests/test_rest.py          |   5 +-
>   src/wok/plugins/kimchi/tests/test_template.py      |   4 +-
>   src/wok/plugins/kimchi/tests/utils.py              | 259 ---------------------
>   tests/__init__.py                                  |  18 ++
>   tests/utils.py                                     |   6 +-
>   18 files changed, 72 insertions(+), 299 deletions(-)
>   delete mode 100644 src/wok/plugins/kimchi/tests/utils.py
>   create mode 100644 tests/__init__.py
>




More information about the Kimchi-devel mailing list