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