Skip to content
Snippets Groups Projects
Commit d12f8603 authored by Theophile GENTILHOMME's avatar Theophile GENTILHOMME
Browse files

Fix test so that it works everyday!

parent 0ad3dd58
No related branches found
No related tags found
1 merge request!86Dump config file
Pipeline #
This commit is part of merge request !86. Comments created here will be created in the context of that merge request.
## 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
...@@ -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 f2.read() in f.read()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment