mozilla-services / autograph

Mozilla's digital signature service
https://hub.docker.com/r/mozilla/autograph/
Mozilla Public License 2.0
152 stars 33 forks source link

monitor: make monitor testable #1040

Closed jmhodges closed 1 month ago

jmhodges commented 1 month ago

This makes the Handler and monitor funcs accept some arguments so we can write tests for them. We write one simple golden path test to demonstrate.

This is an outcome of trying to make the AUTOGRAPH_URL env var handling better in #1012. That PR will be rebased on to this one.