Fix broken Python tests CMakeList

Refs #10057