Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [CI] Allow pre-built distribution to be used in tests with virtualenvs | Anderson Bravalheri | 2022-03-07 | 1 | -0/+8 |
| | |||||
* | Apply suggestions from code review | Anderson Bravalheri | 2022-02-27 | 1 | -1/+1 |
| | |||||
* | Prevent leaking PYTHONPATH to spawned processes in tests | Karolina Surma | 2022-02-27 | 1 | -1/+12 |
| | | | | | | | This enhances environment isolation, as in special cases, like downstream distro packaging, PYTHONPATH can be set to point to a specific setuptools codebase. When it leaks, it shadows the virtual environment's paths and produces wrong test results. | ||||
* | Only resolve 'parent' directory when xdist is in use. Fixes #3059. | Jason R. Coombs | 2022-01-29 | 1 | -2/+4 |
| | |||||
* | Replace tmp_src fixture with the virtualenv fixtures | Anderson Bravalheri | 2022-01-06 | 1 | -17/+0 |
| | | | | | | | | | Instead of re-building/installing setuptools from the source tree every time, the tests now rely on the venv, wheel and sdist fixtures (the venv fixture is populated from sdist/wheel). Moreover migrate `test_virtualenv` to use `jaraco.envs` (so it uses the same libraries ad `test_distutils_adoption`). | ||||
* | Extract venv fixtures from test_distutils_adoption | Anderson Bravalheri | 2022-01-06 | 1 | -1/+31 |
| | | | | | … and change it to install the pre-build setuptools wheel (fixture) instead of installing from the source tree | ||||
* | Add fixtures for sdist and wheel artifacts | Anderson Bravalheri | 2022-01-06 | 1 | -0/+32 |
| | | | | | | | They should be build once for each session and be able to be re-used in parallel (assuming read-only) for all tests. This is useful when dealing with virtual environments | ||||
* | Add test capturing missed expectation. Ref #2612. | Jason R. Coombs | 2021-03-20 | 1 | -0/+14 |
| | |||||
* | Extract workaround for pytest-dev/pytest-xdist#376 as a fixture. Invoke the ↵ | Jason R. Coombs | 2021-01-18 | 1 | -0/+19 |
| | | | | repair at the session level and only when xdist is present. | ||||
* | Rely on rootdir to determine the source. Avoids coupling with position in ↵ | Jason R. Coombs | 2021-01-18 | 1 | -9/+2 |
| | | | | the test suite. | ||||
* | Avoid indirection in src_dir | Jason R. Coombs | 2021-01-17 | 1 | -4/+1 |
| | |||||
* | Make `test_pip_upgrade_from_source` xdist-friendly | Sviatoslav Sydorenko | 2021-01-18 | 1 | -0/+28 |
| | |||||
* | Fix tests with pytest 6.2 | Chih-Hsuan Yen | 2020-12-13 | 1 | -2/+2 |
| | | | | | | | | The latest pytest deprecates pytest.yield_fixture in favor of pytest.fixture [1]. The changelog [2] says that both are the same. [1] https://github.com/pytest-dev/pytest/pull/7988 [2] https://docs.pytest.org/en/stable/changelog.html#pytest-6-2-0-2020-12-12 | ||||
* | Reindent | Jason R. Coombs | 2016-07-30 | 1 | -5/+5 |
| | |||||
* | Don't rely on mock in the plugin | Jason R. Coombs | 2016-07-30 | 1 | -7/+3 |
| | |||||
* | Use unittest.mock from standard library instead of external mock with Python ↵ | Arfrever Frehtes Taifersar Arahesis | 2015-01-15 | 1 | -1/+4 |
| | | | | >=3.3. | ||||
* | Rewrite test using pytest. | Jason R. Coombs | 2015-01-02 | 1 | -0/+7 |
| | |||||
* | Also save the ENABLE_USER_SITE setting in the user_override. | Jason R. Coombs | 2015-01-01 | 1 | -1/+2 |
| | |||||
* | Move fixture to a fixtures module and make that fixture available globally. | Jason R. Coombs | 2015-01-01 | 1 | -0/+16 |