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

7 Commits

Author SHA1 Message Date
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