Esempio n. 1
0
def test_req_is_absolute_null():
    assert pip_faster.req_is_absolute(None) is False
Esempio n. 2
0
def test_req_is_absolute_null():
    assert pip_faster.req_is_absolute(None) is False
Esempio n. 3
0
def test_req_is_absolute(req, expected):
    from pkg_resources import Requirement
    req = Requirement.parse(req)
    assert pip_faster.req_is_absolute(req) is expected
Esempio n. 4
0
def test_req_is_absolute(req, expected):
    from pkg_resources import Requirement
    req = Requirement.parse(req)
    assert pip_faster.req_is_absolute(req) is expected