Attention une mise à jour du serveur va être effectuée le lundi 17 mai entre 13h et 13h30. Cette mise à jour va générer une interruption du service de quelques minutes.

Commit 369fb9a2 authored by Ryan Herbert's avatar Ryan Herbert

tests/scripts/migrator.py pass correct field mapping

we were passing a list when a dict was required. This was due to a
failure to update tests along with the code.

See #3065
parent c2085650
......@@ -148,7 +148,7 @@ class MigratorScript(unittest.TestCase):
'run_date': '1970-01-01 00:00:00'}
results = {10: results_file}
imp.importTable('results_file', results, ['sequence_file'], True)
imp.importTable('results_file', results, {'sequence_file': 'sequence_file_id'}, True)
res = db((db.results_file.data_file == 'foobar.txt')
&(db.results_file.run_date == '1970-01-01 00:00:00')
).select()
......
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