Commit 697bb914 authored by HERBERT Ryan's avatar HERBERT Ryan
Browse files

tests/file.py fixing broken tests due to generic

parent 3cfebd98
......@@ -69,9 +69,10 @@ class FileController(unittest.TestCase):
request.vars['producer'] = "plop"
request.vars['patient_id'] = "plapipou("+str(fake_patient_id)+")"
request.vars['run_id'] = ""
request.vars['sample_set_id'] = ""
request.vars['generic_id'] = ""
request.vars['filename'] = "plopapi"
request.vars["sample_type"] = 'patient'
resp = add_form()
self.assertNotEqual(resp.find('"redirect":"sample_set/index"'), -1, "add_form() failed")
......@@ -94,8 +95,9 @@ class FileController(unittest.TestCase):
request.vars['producer']="plop"
request.vars['patient_id']="plapipou("+str(fake_patient_id)+")"
request.vars['run_id']=""
request.vars['sample_set_id']=""
request.vars['generic_id']=""
request.vars['pre_process'] = fake_pre_process_id
request.vars["sample_type"] = "patient"
resp = edit_form()
......
Supports Markdown
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