CMS youtube transcript tests call GET twice & need different responses on each of the two calls Current solution (setup_caption_responses) decides what to return on basis of call number. Former solution (mock_request_get()) decided what to return on the basis of kwargs, which would differ on first vs. second call
6.8 KiB
6.8 KiB