From d12f8603615abb3280412db6c0ebe7c471fd9826 Mon Sep 17 00:00:00 2001
From: Theophile GENTILHOMME <tgentilhomme@jurasix08.idiap.ch>
Date: Thu, 5 Jul 2018 11:36:07 +0200
Subject: [PATCH] Fix test so that it works everyday!

---
 bob/extension/data/test_dump_config.py | 6 ------
 bob/extension/test_click_helper.py     | 2 +-
 2 files changed, 1 insertion(+), 7 deletions(-)

diff --git a/bob/extension/data/test_dump_config.py b/bob/extension/data/test_dump_config.py
index 1db5b56..0726288 100644
--- a/bob/extension/data/test_dump_config.py
+++ b/bob/extension/data/test_dump_config.py
@@ -1,10 +1,4 @@
-## Configuration file automatically generated at 05/07/2018 for cli test.
-
 
 ## Path leading to test blablabla.
 ## Option: -t, --test [default: /my/path/test.txt]
 # test = /my/path/test.txt
-
-
-
-
diff --git a/bob/extension/test_click_helper.py b/bob/extension/test_click_helper.py
index cce211f..88cdbf9 100644
--- a/bob/extension/test_click_helper.py
+++ b/bob/extension/test_click_helper.py
@@ -192,4 +192,4 @@ def test_config_dump():
                                                 'data/test_dump_config.py')
         assert result.exit_code == 0, (result.exit_code, result.output)
         with open('TEST_CONF', 'r') as f, open(ref, 'r') as f2:
-            assert f.read() == f2.read()
+            assert f2.read() in f.read()
-- 
GitLab