Sam Doran
ba8598a25d
Add setup function for creating a mock system venv
...
Change the main setup to only set PYENV_ROOT. Each test now sets up the
required virtual environments. This results in some duplication but makes
it clearer what each test is doing.
An alternative approach would be to modify the venv created by create_m_venv to
make it look like a system venv, but two distinct functions make it much clearer
what they are doing even though there is some overlap between the functions.
2026-04-27 18:06:06 -04:00
Sam Doran
7e89747ae8
Change the interface of create_m_venv to match setup_m_venv
...
Also have create_m_venv call setup_m_venv.
2026-04-24 13:15:50 -04:00
Sam Doran
a105a58a1b
Add a helper for creating virtual environments
2026-04-24 12:04:16 -04:00
Sam Doran
b52417ea5e
Remove unnecessary test
...
The warning was removed, so testing no empty output doesn’t make much sense.
2026-04-24 11:28:26 -04:00
Sam Doran
5ac3b3a1d9
Check for existence of venv directory
...
Only call pyenv-prefix if the path doesn’t exist.
2026-04-23 17:30:06 -04:00
Sam Doran
fed3b04d2f
Remove warning for no virtualenvs
2026-04-23 17:29:19 -04:00
Sam Doran
f966c97adf
Update tests and add more test cases
...
Update the existing tests based on new behavior/output format.
Add additional tests to cover scenarios that were not previously tested.
2026-04-23 17:29:18 -04:00
Sam Doran
f9d1686cfa
Correct test setup so aliases are properly symlinked
2026-04-23 17:29:18 -04:00
Sam Doran
6443dea0b9
Update tests
2026-04-23 17:29:17 -04:00
Yamashita, Yuu
2ae921c253
Treat all versions with activate script as a virtual environment
2015-11-04 13:07:46 +00:00
Yamashita, Yuu
cdbf7c9972
activate "root" environment of anaconda/miniconda if environment name is not given
2015-07-19 04:19:34 +09:00
Yamashita, Yuu
e1523811fb
fix broken test
2015-07-19 00:08:12 +09:00
Yamashita Yuu
f8e1d9c57b
Add tests for pyenv-virtualenvs
2014-01-23 15:14:01 +09:00