5eed9b2fc0cb8dc87cd4c11b0345072de6a3ff89
- Author
- Michael Aquilina <michaelaquilina@gmail.com>
- Committer
- Michael Aquilina <michaelaquilina@gmail.com>
- Date
Message
Use full VIRTUAL_ENV path in testing
Diff
1diff --git a/tests/test_maybeworkon.zunit b/tests/test_maybeworkon.zunit
2index adc40156a65d2ee2833be91fe9d8e6af8dd0dfd8..cad1201a2d51e8be16520e9e4c50b4544b703dd6 100644
3--- a/tests/test_maybeworkon.zunit
4+++ b/tests/test_maybeworkon.zunit
5@@ -31,7 +31,7 @@
6 }
7
8 @test 'switches virtualenv if current virtualenv is different' {
9- VIRTUAL_ENV="default_venv"
10+ VIRTUAL_ENV="$HOME/.virtualenvs/default_venv"
11
12 run _maybeworkon foobar
13
14@@ -40,7 +40,7 @@
15 }
16
17 @test 'switches virtualenv if current virtualenv is different (silent)' {
18- VIRTUAL_ENV="default_venv"
19+ VIRTUAL_ENV="$HOME/.virtualenvs/default_venv"
20 AUTOSWITCH_SILENT="1"
21
22 run _maybeworkon foobar
23@@ -50,7 +50,7 @@
24 }
25
26 @test 'does not switch to already activated virtualenv' {
27- VIRTUAL_ENV="bwaaah"
28+ VIRTUAL_ENV="$HOME/.virtualenvs/bwaaah"
29
30 run _maybeworkon bwaaah
31