Commit 622942ba authored by HERBERT Ryan's avatar HERBERT Ryan
Browse files

tests/file.py add missing request var for testDelete

parent d34bcb64
...@@ -138,6 +138,7 @@ class FileController(unittest.TestCase): ...@@ -138,6 +138,7 @@ class FileController(unittest.TestCase):
self.assertTrue(db.sequence_file[test_file_id].filename == "babibou" , "file have been added") self.assertTrue(db.sequence_file[test_file_id].filename == "babibou" , "file have been added")
request.vars['id'] = test_file_id request.vars['id'] = test_file_id
request.vars['redirect_sample_set_id'] = fake_sample_set_id
resp = delete() resp = delete()
self.assertTrue(db.sequence_file[test_file_id].data_file == None , "file only should have been deleted") self.assertTrue(db.sequence_file[test_file_id].data_file == None , "file only should have been deleted")
......
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