charmed-kubernetes / pytest-operator

Apache License 2.0
6 stars 13 forks source link

Handle charms with merged `metadata.yaml` in `charmcraft.yaml` #130

Open lengau opened 3 months ago

lengau commented 3 months ago

Charmcraft is moving towards putting all data into charmcraft.yaml - it would be nice if pytest-operator supported that too.

From a quick perusal, it looks like simply trying to read the data from charmcraft.yaml if metadata.yaml doesn't exist would work, as you don't use any of the keys charmcraft rearranges