Draft: test: improve rate limited endpoint shared examples
Relates to issue #572497 (closed)
This MR was created by Duo in Session 1141264
Changes
- Change the
rate limited endpointshared example to default touse_second_scope: true - Update existing tests that were not specifying
use_second_scopeto opt-out withuse_second_scope: false - Remove the now default
use_second_scope: truefrom tests that explicitly specify it - Add user-friendly error message when test context doesn't specify a
request_with_second_scopemethod