Commit 6077725a authored by Maria Arsuaga Rios's avatar Maria Arsuaga Rios
Browse files

check autoreuse

parent 8b402084
Pipeline #83052 passed with stage
in 13 seconds
......@@ -417,11 +417,12 @@ class TestMultiple(TestController):
job = Session.query(Job).get(job_id)
auto_session_reuse = pylons.config['fts3.AutoSessionReuse']
self.assertEqual(auto_session_reuse, 'false')
if auto_session_reuse == 'true':
self.assertEqual(job.job_type, 'Y')
else:
self.assertEqual(job.job_type, 'N')
files = Session.query(File).filter(File.job_id == job_id)
hashed = files[0].hashed_id
for f in files:
......
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