From: Daniel Henrique Barboza <dhbarboza82(a)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
--
2.4.3