You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This copies across the fix from Harness to also be present in Scenario:
if `status_set` is passed anything other than the valid statuses, then
`ModelError` is raised (to better mimic what the Juju hook would
actually do).
Closescanonical/ops-scenario#202 (rather than
copying it over to this repo).
---------
Co-authored-by: Ben Hoyt <benhoyt@gmail.com>
Harness's mocked status_set raises an exception if it's not one of the allowed statuses. We should do this in Scenario too. See related thread.
The text was updated successfully, but these errors were encountered: