charmed-kubernetes / pytest-operator

Apache License 2.0
7 stars 13 forks source link

usage example failed #16

Closed rgildein closed 3 years ago

rgildein commented 3 years ago

There is an error in the README.md file:

assert ops_test.applications["my-charm"].units[0].workload_status == "active"

should be

assert ops_test.model.applications["my-charm"].units[0].workload_status == "active"