Skip to content
Snippets Groups Projects
Commit 630b775a authored by Yves Noirjean's avatar Yves Noirjean
Browse files

Added data.

parent 9385b679
No related branches found
No related tags found
No related merge requests found
...@@ -195,11 +195,11 @@ def test_undo_commit_when_sync_fails(tmpdir): ...@@ -195,11 +195,11 @@ def test_undo_commit_when_sync_fails(tmpdir):
tmp_dir_path = str(tmpdir) tmp_dir_path = str(tmpdir)
result = dm.init_data(tmp_dir_path, "test") result = dm.init_data(tmp_dir_path, "test")
assert result.returncode == 0 assert result.returncode == 0
prepare_registration_expectations(dm) # prepare_registration_expectations(dm)
set_registration_configuration(dm) # set_registration_configuration(dm)
copy_test_data(tmpdir) copy_test_data(tmpdir)
result = dm.commit("Added data.") result = dm.commit("Added data.")
assert result.returncode == 0 assert result.returncode == -1 # fails due to object_id which is not set
# TODO Test that if the data set registration fails, the data_set_id is reverted # TODO Test that if the data set registration fails, the data_set_id is reverted
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment