Skip to content

Commit

Permalink
Fix docstring example.
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyandrewmeyer committed Aug 7, 2024
1 parent e3a15bb commit cc8b3ca
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions scenario/state.py
Original file line number Diff line number Diff line change
Expand Up @@ -844,9 +844,12 @@ class Container(_max_posargs(1)):
container = scenario.Container(
name='foo',
execs={
('whoami', ): scenario.Exec(return_code=0, stdout='ubuntu')
('dig', '+short', 'canonical.com'):
scenario.Exec(return_code=0, stdout='185.125.190.20\\n185.125.190.21')
scenario.Exec(('whoami', ), return_code=0, stdout='ubuntu'),
scenario.Exec(
('dig', '+short', 'canonical.com'),
return_code=0,
stdout='185.125.190.20\\n185.125.190.21',
),
}
)
"""
Expand Down

0 comments on commit cc8b3ca

Please sign in to comment.