mirror of
https://github.com/pypa/pip
synced 2023-12-13 21:30:23 +01:00
.. | ||
backtrack.yml | ||
circular.yml | ||
conflicting_diamond.yml | ||
conflicting_triangle.yml | ||
extras.yml | ||
linter.py | ||
non_pinned.yml | ||
overlap1.yml | ||
pinned.yml | ||
pip988.yml | ||
poetry2298.yml | ||
README.md | ||
simple.yml | ||
trivial.yml |
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