
On 11/19/2015 02:00 PM, Aline Manera wrote:
On 19/11/2015 13:58, Aline Manera wrote:
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)
I will apply those patches, but, PLEASE, do not forget about gingerbase.
I'll send the gingerbase unit test changes ASAP
On 18/11/2015 18:32, dhbarboza82@gmail.com wrote:
From: Daniel Henrique Barboza <dhbarboza82@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
_______________________________________________ Kimchi-devel mailing list Kimchi-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/kimchi-devel
_______________________________________________ Kimchi-devel mailing list Kimchi-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/kimchi-devel