The fake routes object installed into sys.modules as `server` only defined get/post/delete; server.py also registers put (models) and patch (media), so importing the real server.py during collection (e.g. test_server.py) raised AttributeError and aborted the whole run. Add put/patch to the mock. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>