Fix typo in python AlgorithmTest.

Refs #8971
Merge branch 'feature/8971_cancel_algs_from_script' into develop