Hi, me again. I promise I will stop breaking stuff soon.
I couldn't figure out why the test for the Mouser API kept failing but the API key was correct and search worked. Turns out that the part used for testing has been changed. The description was MOSFETs P-channel 1.25W and now is MOSFET P-channel 1.25W.
Changing the expected description for the test in mouser_api.py fixes it.