Skip to content

Commit

Permalink
Explicitly use python2 for carddav and caldav tests
Browse files Browse the repository at this point in the history
  • Loading branch information
phil-davis committed May 16, 2022
1 parent 352920a commit 835cea9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion apps/dav/tests/ci/caldav-old-endpoint/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ sleep 30

# run the tests
cd "$SCRIPTPATH/CalDAVTester"
PYTHONPATH="$SCRIPTPATH/pycalendar/src" python testcaldav.py --print-details-onfail --basedir "$SCRIPTPATH/../caldavtest/" -o cdt.txt \
PYTHONPATH="$SCRIPTPATH/pycalendar/src" python2 testcaldav.py --print-details-onfail --basedir "$SCRIPTPATH/../caldavtest/" -o cdt.txt \
"CalDAV/current-user-principal.xml" \
"CalDAV/sync-report.xml"

Expand Down
2 changes: 1 addition & 1 deletion apps/dav/tests/ci/caldav/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ sleep 30

# run the tests
cd "$SCRIPTPATH/CalDAVTester"
PYTHONPATH="$SCRIPTPATH/pycalendar/src" python testcaldav.py --print-details-onfail --basedir "$SCRIPTPATH/../caldavtest/" -o cdt.txt \
PYTHONPATH="$SCRIPTPATH/pycalendar/src" python2 testcaldav.py --print-details-onfail --basedir "$SCRIPTPATH/../caldavtest/" -o cdt.txt \
"CalDAV/current-user-principal.xml" \
"CalDAV/sync-report.xml" \
"CalDAV/sharing-calendars.xml"
Expand Down
2 changes: 1 addition & 1 deletion apps/dav/tests/ci/carddav-old-endpoint/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ sleep 30

# run the tests
cd "$SCRIPTPATH/CalDAVTester"
PYTHONPATH="$SCRIPTPATH/pycalendar/src" python testcaldav.py --print-details-onfail --basedir "$SCRIPTPATH/../caldavtest/" -o cdt.txt \
PYTHONPATH="$SCRIPTPATH/pycalendar/src" python2 testcaldav.py --print-details-onfail --basedir "$SCRIPTPATH/../caldavtest/" -o cdt.txt \
"CardDAV/current-user-principal.xml" \
"CardDAV/sync-report.xml"

Expand Down
2 changes: 1 addition & 1 deletion apps/dav/tests/ci/carddav/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ sleep 30

# run the tests
cd "$SCRIPTPATH/CalDAVTester"
PYTHONPATH="$SCRIPTPATH/pycalendar/src" python testcaldav.py --print-details-onfail --basedir "$SCRIPTPATH/../caldavtest/" -o cdt.txt \
PYTHONPATH="$SCRIPTPATH/pycalendar/src" python2 testcaldav.py --print-details-onfail --basedir "$SCRIPTPATH/../caldavtest/" -o cdt.txt \
"CardDAV/current-user-principal.xml" \
"CardDAV/sync-report.xml" \
"CardDAV/sharing-addressbooks.xml"
Expand Down

0 comments on commit 835cea9

Please sign in to comment.