Commit a7c8ee6c authored by Samuel GAIST's avatar Samuel GAIST

[test][databases] Ensure Database object is correctly created

This allows to more easily understand why the test fails if
the database object encounters error on creation.
parent d325cddf
Pipeline #23454 passed with stages
in 26 minutes and 32 seconds
......@@ -101,6 +101,7 @@ def test_diff():
# quickly modify the user algorithm by emptying it
f = Database(tmp_prefix, obj)
nose.tools.eq_(len(f.errors), 0, 'Failed to load Database: \n%s' % '\n'.join(f.errors))
f.data['root_folder'] = '/a/different/path'
f.write()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment