canonical / ops-scenario

State-transition testing SDK for Operator Framework Juju charms.
Apache License 2.0
10 stars 7 forks source link

chore!: remove Context.clear() and Context.cleanup() #110

Closed tonyandrewmeyer closed 3 months ago

tonyandrewmeyer commented 5 months ago

Removes Context.cleanup(). That method allows re-use of a Context (in particular, forgetting the histories), but in general we'd rather promote creating a fresh Context to align with other scenario usage.

Context.clear() is a deprecated alias for cleanup, so remove it as well.