upload() opens the file before subprocess.run; the two upload tests must mock open() so the nonexistent /tmp paths don't raise FileNotFoundError. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
upload() opens the file before subprocess.run; the two upload tests must mock open() so the nonexistent /tmp paths don't raise FileNotFoundError. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>