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