Skip to content

Commit

Permalink
Added multi line string for Test Sting
Browse files Browse the repository at this point in the history
  • Loading branch information
themayurkumbhar committed Jun 6, 2019
1 parent 88b5522 commit adc80e1
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions tests/test_help_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,16 @@

from onebuild.main import run

USAGE_HELP_MESSAGE = \
"usage: 1build [-h] [-l] [-v] [command]\n\n" \
"positional arguments:\n " \
"command Command to run - from `1build.yaml` file\n\n" \
"optional arguments:\n" \
" -h, --help Print this help message\n"\
" -l, --list Show all available commands - from `1build.yaml` file\n"\
" -v, --version Show version of 1build and exit\n"
USAGE_HELP_MESSAGE = """usage: 1build [-h] [-l] [-v] [command]
positional arguments:
command Command to run - from `1build.yaml` file
optional arguments:
-h, --help Print this help message
-l, --list Show all available commands - from `1build.yaml` file
-v, --version Show version of 1build and exit
"""


def test_show_help(capsys):
Expand Down

0 comments on commit adc80e1

Please sign in to comment.