[Kimchi-devel] [PATCHv4 7/7] Storage volume upload: Change mockmodel and test

Aline Manera alinefm at linux.vnet.ibm.com
Thu Sep 4 15:29:06 UTC 2014


On 09/04/2014 12:02 PM, Crístian Viana wrote:
> This patch breaks the tests. Here is the error output:
>
> ======================================================================
> ERROR: test_rest (unittest.loader.ModuleImportFailure)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_rest
> Traceback (most recent call last):
>   File "/usr/lib64/python2.7/unittest/loader.py", line 252, in 
> _find_tests
>     module = self._get_module_from_name(name)
>   File "/usr/lib64/python2.7/unittest/loader.py", line 230, in 
> _get_module_from_name
>     __import__(name)
>   File "/home/vianac/LTC/kimchi/tests/test_rest.py", line 25, in <module>
>     import requests
> ImportError: No module named requests
>
> Please, run "sudo make check" to check for test errors before 
> submitting patches.
>

I got the same error on Fedora 20.
We need to install python-requests on Fedora 20, openSUSE 13.1 and RHEL7 
to get this module.

> On 04-09-2014 06:25, lvroyce at linux.vnet.ibm.com wrote:
>> From: Royce Lv <lvroyce at linux.vnet.ibm.com>
>>
>> Change mockmodel and tests to support storagevolume upload.
>>
>> Signed-off-by: Royce Lv <lvroyce at linux.vnet.ibm.com>
>
> _______________________________________________
> Kimchi-devel mailing list
> Kimchi-devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/kimchi-devel
>




More information about the Kimchi-devel mailing list