Loading...
Loading...
Mock Django test boundaries safely with override_settings, pytest settings, autospecced unittest.mock objects, output/input capture, requests-mock, VCR.py, outbound HTTP blocking, and time-freezing tools. Use when tests need to replace settings, HTTP calls, time, command output, stdin, or external services without broad fragile MagicMock patches.
npx skill4agent add lvtd-llc/skills django-targeted-mockingoverride_settingsmodify_settingssettingsio.StringIOcapsysrequests-mocktime-machineautospec=Truespecspec_setcreate_autospecMockMagicMockdjango.conf.settingstypes.SimpleNamespacerequests-mockMagicMock