Commit 1292b373 by Peter Weidenbach

pep8 errors

parent f30364a4
......@@ -25,6 +25,7 @@ PROGRAM_DESCRIPTION = 'Generates a analysis PDF report'
STANDARD_CONF_FILE = os.path.dirname(os.path.abspath(__file__)) + '/config/main.cfg'
def _setup_argparser():
parser = argparse.ArgumentParser(description='{} - {}'.format(PROGRAM_NAME, PROGRAM_DESCRIPTION))
parser.add_argument('-V', '--version', action='version', version='{} {}'.format(PROGRAM_NAME, PROGRAM_VERSION))
......
......@@ -4,6 +4,7 @@ import os
SRC_DIR = os.path.dirname(os.path.abspath(__file__)) + '/../../pdf_generator.py'
def test_main_program():
command_line = SRC_DIR + ' -V'
output, return_code = execute_shell_command_get_return_code(command_line)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment