di / pytest-reqs

py.test plugin for checking requirements files
https://pypi.org/p/pytest-reqs
MIT License
25 stars 6 forks source link

Test VCS requirements #26

Open jayvdb opened 6 years ago

jayvdb commented 6 years ago

Adds tests for the VCS requirements that work. Many VCS requirements still do no work, especially using versions in the #egg parameter.

Related to https://github.com/di/pytest-reqs/issues/25

di commented 5 years ago

@jayvdb Can you rebase this?

jayvdb commented 5 years ago

This test now fails, because pip -> pip_api (packaging)

I've made https://github.com/di/pip-api/pull/9 to explain that a bit better.

I will still update this PR here, but ^ will help because currently any invalid requirement causes pip-api to barf, with only a str message in PipError to show, so the tests here are not so useful atm.