Commit 3b92d7af authored by Maria Arsuaga Rios's avatar Maria Arsuaga Rios
Browse files

FTS-893 Default value false for the tests too

parent a7fe5a12
Pipeline #83120 passed with stage
in 20 seconds
......@@ -416,7 +416,7 @@ class TestJobCancel(TestController):
job = Session.query(Job).get(job_id)
self.assertEqual(job.job_state, 'CANCELED')
auto_session_reuse = pylons.config['fts3.AutoSessionReuse']
auto_session_reuse= pylons.config.get('fts3.AutoSessionReuse', 'false');
if auto_session_reuse == 'true':
self.assertEqual(job.job_type, 'Y')
else:
......
......@@ -416,7 +416,7 @@ class TestMultiple(TestController):
).json['job_id']
job = Session.query(Job).get(job_id)
auto_session_reuse = pylons.config['fts3.AutoSessionReuse']
auto_session_reuse= pylons.config.get('fts3.AutoSessionReuse', 'false');
if auto_session_reuse == 'true':
self.assertEqual(job.job_type, 'Y')
files = Session.query(File).filter(File.job_id == job_id)
......
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