-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Enhancement Proposal
It would be ideal if (from ref)
The team that owns the real implementation of the charm lib should write and maintain the fake.
Without up-to-date test doubles, other engineers will pollute their charm tests with mocks, which could quickly get out of sync with the real implementation.
Currently, if we want to scenario test we would have to place dummy certificate data in the remote_app_data:
ssc = Relation(
endpoint="certificates",
interface="tls-certificate",
remote_app_data={
"certificates": json.dumps(
[
{
"certificate": "placeholder",
"certificate_signing_request": "placeholder",
"ca": "placeholder",
"chain": ["first", "second"],
}
]
)
},
)Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request