Files
Oz Tiram 1dcdc448ba test(cool-down-period): actually exercise Resolver.pip_options in the unit test
The previous test computed the cutoff locally without ever calling resolver.pip_options,
so it would pass even if uploaded_prior_to was never set.  Rewrite it to call
resolver.pip_options directly (stubbing pip_command, pip_args, and
check_release_control_exclusive) and assert that pip_options.uploaded_prior_to is set
to approximately now - timedelta(days=30).  Also drop the unused SimpleNamespace import.

Signed-off-by: Oz Tiram <oz.tiram@gmail.com>
2026-05-02 10:44:53 +00:00
..