From 00ce9b0d8a99f0a24cfafea9e6a89d4eb9f87d46 Mon Sep 17 00:00:00 2001 From: Pietro Pasotti Date: Tue, 13 Aug 2024 07:51:42 +0200 Subject: [PATCH] fixed comma and test-pebble-push example --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index a5637083..6007079a 100644 --- a/README.md +++ b/README.md @@ -611,13 +611,13 @@ class MyCharm(ops.CharmBase): def test_pebble_push(): with tempfile.NamedTemporaryFile() as local_file: - container = scenario,Container( + container = scenario.Container( name='foo', can_connect=True, - mounts={'local': Mount('/local/share/config.yaml', local_file.name)} + mounts={'local': scenario.Mount('/local/share/config.yaml', local_file.name)} ) - state_in = State(containers=[container]) - ctx = Context( + state_in = scenario.State(containers=[container]) + ctx = scenario.Context( MyCharm, meta={"name": "foo", "containers": {"foo": {}}} )