Some code-smell sanity tests for ansible-base use subprocess to invoke ansible commands. Intercept these commands to make sure the correct script and python version are used.