Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
bob.extension
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
5
Issues
5
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bob
bob.extension
Commits
d12f8603
Commit
d12f8603
authored
Jul 05, 2018
by
Theophile GENTILHOMME
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix test so that it works everyday!
parent
0ad3dd58
Pipeline
#21622
passed with stage
in 7 minutes and 47 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
7 deletions
+1
-7
bob/extension/data/test_dump_config.py
bob/extension/data/test_dump_config.py
+0
-6
bob/extension/test_click_helper.py
bob/extension/test_click_helper.py
+1
-1
No files found.
bob/extension/data/test_dump_config.py
View file @
d12f8603
## Configuration file automatically generated at 05/07/2018 for cli test.
## Path leading to test blablabla.
## Path leading to test blablabla.
## Option: -t, --test [default: /my/path/test.txt]
## Option: -t, --test [default: /my/path/test.txt]
# test = /my/path/test.txt
# test = /my/path/test.txt
bob/extension/test_click_helper.py
View file @
d12f8603
...
@@ -192,4 +192,4 @@ def test_config_dump():
...
@@ -192,4 +192,4 @@ def test_config_dump():
'data/test_dump_config.py'
)
'data/test_dump_config.py'
)
assert
result
.
exit_code
==
0
,
(
result
.
exit_code
,
result
.
output
)
assert
result
.
exit_code
==
0
,
(
result
.
exit_code
,
result
.
output
)
with
open
(
'TEST_CONF'
,
'r'
)
as
f
,
open
(
ref
,
'r'
)
as
f2
:
with
open
(
'TEST_CONF'
,
'r'
)
as
f
,
open
(
ref
,
'r'
)
as
f2
:
assert
f
.
read
()
==
f2
.
read
()
assert
f
2
.
read
()
in
f
.
read
()
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