Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fact_pdf_report
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fact-depend
fact_pdf_report
Commits
1292b373
Commit
1292b373
authored
Dec 14, 2018
by
Peter Weidenbach
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pep8 errors
parent
f30364a4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
pdf_generator.py
src/pdf_generator.py
+1
-0
test_main.py
src/tests/acceptance/test_main.py
+1
-0
No files found.
src/pdf_generator.py
View file @
1292b373
...
...
@@ -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
))
...
...
src/tests/acceptance/test_main.py
View file @
1292b373
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment