Skip to content

Commit

Permalink
Update expected help text.
Browse files Browse the repository at this point in the history
  • Loading branch information
kschwab committed Nov 7, 2024
1 parent cd8e9cd commit 92d2f8f
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions tests/test_source_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -469,16 +469,17 @@ class Car(BaseSettings, cli_parse_args=True):
assert (
capsys.readouterr().out
== f"""usage: example.py [-h] [--driver JSON] [--driver.meow str] [--driver.bark str]
[--driver.caww str] [--driver.tweet str]
{ARGPARSE_OPTIONS_TEXT}:
-h, --help show this help message and exit
-h, --help show this help message and exit
driver options:
--driver JSON set driver from JSON string
--driver.meow str (default: purr)
--driver.bark str (default: bark)
--driver.caww str (default: caww)
--driver.tweet str (ifdef: required)
--driver JSON set driver from JSON string
--driver.meow str (default: purr)
--driver.bark str (default: bark)
--driver.caww str (default: caww)
--driver.tweet str (ifdef: required)
"""
)

Expand Down

0 comments on commit 92d2f8f

Please sign in to comment.