You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Ramesh Mani (Jira)" <ji...@apache.org> on 2021/08/24 23:28:00 UTC

[jira] [Updated] (RANGER-3190) Skip python unit tests if requests library not present

     [ https://issues.apache.org/jira/browse/RANGER-3190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ramesh Mani updated RANGER-3190:
--------------------------------
    Fix Version/s: 2.2.0
                   3.0.0

> Skip python unit tests if requests library not present
> ------------------------------------------------------
>
>                 Key: RANGER-3190
>                 URL: https://issues.apache.org/jira/browse/RANGER-3190
>             Project: Ranger
>          Issue Type: Test
>          Components: Ranger
>            Reporter: Abhishek Kumar
>            Assignee: Abhishek Kumar
>            Priority: Minor
>              Labels: test
>             Fix For: 3.0.0, 2.2.0
>
>         Attachments: 0001-RANGER-3190-Skip-Python-unit-tests-if-requests-not-p.patch
>
>
> The python unit tests depend on the _requests_ library which don't come preinstalled with python3 - they need to be installed separately using pip for ex. Therefore the code change aims to gracefully skip unit tests if _requests_ is not present on the machine.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)