File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -8,13 +8,20 @@ TEST_VENV_DIR="$DIR/$TEST_VENV_NAME"
88echo " Starting tests with test venv '$TEST_VENV_NAME '..."
99
1010# Test venv creation
11- VENV_DIR=$TEST_VENV_DIR pyro $TEST_VENV_NAME > /dev/null
11+ VENV_DIR=$TEST_VENV_DIR pyro $TEST_VENV_NAME -c > /dev/null
1212if [ -d " $TEST_VENV_DIR " ]; then
1313 echo " Testing venv creation... passed."
1414else
1515 echo " Testing venv creation FAILED."
1616fi
1717
18+ # Test default post activation hook
19+ if grep -q " # Commands to be run after" " ${TEST_VENV_DIR} /post_activate.sh" ; then
20+ echo " Testing post activation default script... passed."
21+ else
22+ echo " Testing post activation default script FAILED."
23+ fi
24+
1825# Test venv deletion
1926pyro $TEST_VENV_NAME --delete > /dev/null
2027if [ ! -d " $TEST_VENV_DIR " ]; then
You can’t perform that action at this time.
0 commit comments