1
0
mirror of https://github.com/fedora-python/tox-current-env.git synced 2024-12-26 01:56:12 +01:00
Commit Graph

10 Commits

Author SHA1 Message Date
Miro Hrončok
bf900a5c7c Clear PYTHONPATH when executing tox in tests
Partial fix for https://github.com/fedora-python/tox-current-env/issues/52
2022-12-20 11:47:23 +01:00
Miro Hrončok
028ee0cfb4 Avoid race conditions when running tests with xdist 2022-12-13 16:56:33 +01:00
Lumir Balhar
5d5286d4f0 Drop tox < 3.24, add Python 3.11, fix tox 4 compatibility 2022-12-13 16:47:55 +01:00
Lumir Balhar
fa84635096 New Python versions in tests 2022-02-10 13:17:23 +01:00
Petr Viktorin
f663c1b4d5 Tests: Manipulate INI config with ConfigParser 2020-11-04 17:04:26 +01:00
Miro Hrončok
10da929f4b Test that the tested package is never/always installed to the test environment
Where "never" means:

 - with and without usedevelop
 - with all options of this plugin

Where "always" means:

 - with and without usedevelop
 - without options of this plugin
2020-11-04 17:04:11 +01:00
Miro Hrončok
6dd32b21ce Add the --print-extras-to(-file) option 2020-09-30 15:13:18 +02:00
Miro Hrončok
12b0f83762 Test with Python 3.9 as well 2020-08-13 12:05:10 +02:00
Petr Viktorin
2e513fe88f tests: Use sys.exec_prefix, not sys.executable, to determine the Python run
Virtualenv 20.0 follows symlinks when populating sys.executable,
so we can't use it. (AFAIUI it's done to better handle cases where the
system executable is changed after a virtualenv is created.)
See: https://github.com/pypa/virtualenv/pull/1522

sys.exec_prefix still points to inside the virtualenv, so use that
in the tests to determine what's being run.
2020-08-11 17:07:58 +02:00
Miro Hrončok
783c2ea1ec Tests: For each test function, create an isolated project directory
This allows concurrent test execution.

Fixes https://github.com/fedora-python/tox-current-env/issues/11
2019-10-23 13:24:51 +02:00