1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00
pip/tests/yaml
2020-04-29 00:12:02 -05:00
..
backtrack.yml add backtracking resolver yaml test 2020-04-26 14:09:27 -05:00
circular.yml run tests with old and new resolver, and add ability to skip for either 2020-04-22 17:33:12 -05:00
conflicting_diamond.yml move yaml test files up one level 2020-04-22 15:23:35 -05:00
conflicting_triangle.yml move yaml test files up one level 2020-04-22 15:23:35 -05:00
extras.yml yaml test extras-2 passws with new resolver 2020-04-22 17:45:08 -05:00
linter.py move import so isort does not try to "fix" import order 2020-04-26 00:51:12 -05:00
non_pinned.yml move yaml test files up one level 2020-04-22 15:23:35 -05:00
overlap1.yml add comment 2020-04-24 23:11:35 -05:00
pinned.yml move yaml test files up one level 2020-04-22 15:23:35 -05:00
pip988.yml update link to refer directly to benoit-pierre's comment 2020-04-25 20:00:44 -05:00
poetry2298.yml add test for https://github.com/python-poetry/poetry/issues/2298 2020-04-23 22:40:53 -05:00
README.md add information about only single tests to readme 2020-04-26 10:43:52 -05:00
simple.yml add ability to install list of requirements - with example in simple.yml 2020-04-28 23:32:55 -05:00
trivial.yml add trivial example to demonstrate installing and uninstalling multiple packages 2020-04-29 00:12:02 -05:00

Fixtures

This directory contains fixtures for testing pip's resolver. The fixtures are written as .yml files, with a convenient format that allows for specifying a custom index for temporary use.

The .yml files are organized in the following way. A base section which ...

The linter is very useful for initally checking .yml files, e.g.:

$ python linter.py -v simple.yml

To run only the yaml tests, use (from the root of the source tree):

$ tox -e py38 -- -m yaml -vv

Or, in order to avoid collecting all the test cases:

$ tox -e py38 -- tests/functional/test_yaml.py

Or, only a specific test:

$ tox -e py38 -- tests/functional/test_yaml.py -k simple

Or, just a specific test case:

$ tox -e py38 -- tests/functional/test_yaml.py -k simple-0