3963790fcb486491737839ed3a0082139009795a
- Author
- Maximilian Staab <ms@abusix.com>
- Committer
- Maximilian Staab <ms@abusix.com>
- Date
Message
Updated poetry test to use the correct output of
`poetry env list --full-path`
Diff
1diff --git a/tests/test_check_venv.zunit b/tests/test_check_venv.zunit
2index f514c969d23c270f22ec7349b1bddba287d3d38d..df9295283ba1800a43333e3079bdf88288099397 100644
3--- a/tests/test_check_venv.zunit
4+++ b/tests/test_check_venv.zunit
5@@ -176,9 +176,9 @@
6 PWD="$TARGET/sub-directory" # Should also work in subdirectories where poetry.lock is found
7 touch "$TARGET/poetry.lock"
8
9- # Mimic "poetry env list"
10+ # Mimic "poetry env list --full-path"
11 function poetry {
12- echo "poetry-foo (activated)"
13+ echo "$HOME/.cache/pypoetry/virtualenvs/poetry-foo (Activated)"
14 }
15
16 run check_venv