Explicitly create extra_files_path when discovering outputs with extra files

This commit is contained in:
mvdbeek
2019-05-17 14:04:23 +02:00
parent b777e1b5d8
commit 3d2c243b4d
3 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -283,7 +283,7 @@ def test_import_export_composite_datasets():
h = model.History(name="Test History", user=u)
d1 = _create_datasets(sa_session, h, 1, extension="html")[0]
app.object_store.create(d1.dataset, dir_only=True, extra_dir=d1.dataset._extra_files_rel_path)
d1.dataset.create_extra_files_path()
sa_session.add_all((h, d1))
sa_session.flush()