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
1a3b38b5
Commit
1a3b38b5
authored
Jul 17, 2019
by
dorp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed obsolete test
parent
8e6defeb
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
16 deletions
+0
-16
__init__.py
test/acceptance/__init__.py
+0
-0
test_main.py
test/acceptance/test_main.py
+0
-16
No files found.
test/acceptance/__init__.py
deleted
100644 → 0
View file @
8e6defeb
test/acceptance/test_main.py
deleted
100644 → 0
View file @
8e6defeb
from
pathlib
import
Path
import
pytest
from
common_helper_process.fail_safe_subprocess
import
execute_shell_command_get_return_code
SCRIPT_PATH
=
Path
(
__file__
)
.
parent
.
parent
.
parent
/
'report.py'
@pytest.mark.parametrize
(
'arguments, expected_output, expected_return_code'
,
[
(
'-V'
,
'FACT'
,
0
),
(
'-h'
,
'usag'
,
0
)
])
def
test_main_program
(
arguments
,
expected_output
,
expected_return_code
):
output
,
return_code
=
execute_shell_command_get_return_code
(
'{} {}'
.
format
(
SCRIPT_PATH
,
arguments
))
assert
output
[
0
:
4
]
==
expected_output
assert
return_code
==
expected_return_code
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