[Kimchi-devel] [Kimchi] Supress HTTPS certification checking on tests
Ramon Medeiros
ramonn at linux.vnet.ibm.com
Tue Jan 5 19:15:49 UTC 2016
I'd test on my fedora running 2.7.8. No issues
On 01/05/2016 05:11 PM, Daniel Henrique Barboza wrote:
> Do you know if this PYTHONWARNINGS var being set in the script will
> cause issues when running in older versions of python?
>
> On 01/05/2016 05:06 PM, Ramon Medeiros wrote:
>> I got this running on suse leap 42.1:
>>
>> /usr/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py:768:
>> InsecureRequestWarning: Unverified HTTPS request is being made.
>> Adding certificate verification is strongly advised. See:
>> https://urllib3.readthedocs.org/en/latest/security.html
>> InsecureRequestWarning)
>>
>>
>> On 01/05/2016 05:04 PM, Daniel Henrique Barboza wrote:
>>> Can you give an example of this warning happening? I am running
>>> python 2.7.10 and haven't noticed this
>>>
>>> On 01/05/2016 02:56 PM, Ramon Medeiros wrote:
>>>> This happens when running python >= 2.7.9.
>>>>
>>>> Signed-off-by: Ramon Medeiros <ramonn at linux.vnet.ibm.com>
>>>> ---
>>>> tests/run_tests.sh.in | 2 +-
>>>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>>>
>>>> diff --git a/tests/run_tests.sh.in b/tests/run_tests.sh.in
>>>> index 048f986..e92e7d4 100644
>>>> --- a/tests/run_tests.sh.in
>>>> +++ b/tests/run_tests.sh.in
>>>> @@ -55,4 +55,4 @@ done
>>>> # ../../../../../ refers to the project root
>>>> # ../../../../ refers to wok directory
>>>> # ../../../ refers to plugins directory
>>>> -PYTHONPATH=../../../../../:../../../../:../../../ $CMD $OPTS
>>>> ${MODEL_LIST[@]} ${MOCK_LIST[@]}
>>>> +PYTHONPATH=../../../../../:../../../../:../../../
>>>> PYTHONWARNINGS="ignore:Unverified HTTPS request" $CMD $OPTS
>>>> ${MODEL_LIST[@]} ${MOCK_LIST[@]}
>>>
>>> _______________________________________________
>>> Kimchi-devel mailing list
>>> Kimchi-devel at ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/kimchi-devel
>>>
>>
>
--
Ramon Nunes Medeiros
Kimchi Developer
Linux Technology Center Brazil
IBM Systems & Technology Group
Phone : +55 19 2132 7878
ramonn at br.ibm.com
More information about the Kimchi-devel
mailing list