Closed sed-i closed 1 year ago
It is natural to just await ops_test.forget_model(), but that would error:
await ops_test.forget_model()
TypeError: OpsTest.forget_model() missing 1 required positional argument: ...
Use self.current_alias as default, instead, so passing it wouldn't be necessary.
self.current_alias
Note: PyCharm made some whitespace fixes automatically :)
Could you please take a look @addyess?
It is natural to just
await ops_test.forget_model()
, but that would error:Use
self.current_alias
as default, instead, so passing it wouldn't be necessary.Note: PyCharm made some whitespace fixes automatically :)