def test_single_nonimage_returns_error(): vision_api_client = main.VisionApi() texts = vision_api_client.detect_text(['README.md']) assert "README.md" not in texts