- Use assertRaisesRegexp to make sure correct exceptions are raised. - Set docker_command to avoid docker dependency (skips find_executable). - Use a fake path for docker_command to make sure mock.patch is working.