Skip to content

Commit

Permalink
fixed comma and test-pebble-push example
Browse files Browse the repository at this point in the history
  • Loading branch information
PietroPasotti committed Aug 13, 2024
1 parent a965323 commit 00ce9b0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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": {}}}
)
Expand Down

0 comments on commit 00ce9b0

Please sign in to comment.