diff --git a/modules/jenkins/files/slave_scripts/run-tox.sh b/modules/jenkins/files/slave_scripts/run-tox.sh
index eeb03f2168..7bff4a5c49 100755
--- a/modules/jenkins/files/slave_scripts/run-tox.sh
+++ b/modules/jenkins/files/slave_scripts/run-tox.sh
@@ -63,8 +63,8 @@ if [ -d ".testrepository" ] ; then
     gzip -9 ./subunit_log.txt
     gzip -9 ./testr_results.html
 
-    foundcount=$(.tox/$venv/bin/python testr list-tests | sed -e '1d' | wc -l)
-    rancount=$(.tox/$venv/bin/python testr last | sed -ne 's/Ran \([0-9]\+\).*tests in.*/\1/p')
+    foundcount=$(.tox/$venv/bin/python .tox/$venv/bin/testr list-tests | sed -e '1d' | wc -l)
+    rancount=$(.tox/$venv/bin/python .tox/$venv/bin/testr last | sed -ne 's/Ran \([0-9]\+\).*tests in.*/\1/p')
     if [ "$rancount" -lt "$foundcount" ] ; then
         echo
         echo "The number of tests found was greater than the number of tests"