
In the near future I want to move to tox, that will create the venv itself, for now, you can use mock_runner to run the check_patch.sh script, that does it itself David Caro El 1/3/2016 22:44, Yaniv Kaul <ykaul@redhat.com> escribió: On Tue, Mar 1, 2016 at 10:34 PM, David Caro <dcaro@redhat.com> wrote:
did you install the test dependencies? (pip install -r test-requires.txt)
No, I was hoping 'make check' would do it (hopefully in a venv). I prefer the RPM needed - I installed PyYAML and it worked. Y.
On 03/01 22:31, Yaniv Kaul wrote:
After today's (?) changes: tests/unit/test_config.py::test_nonexistent_throws PASSED
===================================================================================================== ERRORS ====================================================================================================== ___________________________________________________________________________________ ERROR collecting tests/unit/test_dirlock.py ___________________________________________________________________________________ tests/unit/test_dirlock.py:27: in <module> from lago import dirlock lago/dirlock.py:25: in <module> import utils lago/utils.py:36: in <module> import yaml E ImportError: No module named yaml _________________________________________________________________________________ ERROR collecting tests/unit/lago/test_prefix.py _________________________________________________________________________________ tests/unit/lago/test_prefix.py:6: in <module> from lago import prefix lago/prefix.py:36: in <module> import subnet_lease lago/subnet_lease.py:45: in <module> import utils lago/utils.py:36: in <module> import yaml E ImportError: No module named yaml _________________________________________________________________________________ ERROR collecting tests/unit/lago/test_utils.py __________________________________________________________________________________ tests/unit/lago/test_utils.py:2: in <module> import yaml E ImportError: No module named yaml ======================================================================================== 7 passed, 3 error in 0.08 seconds ======================================================================================== Makefile:52: recipe for target 'check-local' failed make: *** [check-local] Error 1
I'm on: commit 5178f92f435791a778d4fbd801baab532819e7b0 Merge: 5deacae 79bb6ca Author: Lago CI bot <dcaroest+cibot@redhat.com> Date: Tue Mar 1 16:38:23 2016 +0100
Merge pull request #151 from lago-project/yaml_init_definition
Added yaml support for the init config file _______________________________________________ lago-devel mailing list lago-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/lago-devel
-- David Caro
Red Hat S.L. Continuous Integration Engineer - EMEA ENG Virtualization R&D
Tel.: +420 532 294 605 Email: dcaro@redhat.com IRC: dcaro|dcaroest@{freenode|oftc|redhat} Web: www.redhat.com RHT Global #: 82-62605