Skip to content
Snippets Groups Projects
Commit b20c00e8 authored by Charlotte Hausman's avatar Charlotte Hausman
Browse files

fix test

parent f90bfa13
No related branches found
No related tags found
1 merge request!358WS-551: fix delivery to support restores
Pipeline #2257 passed
......@@ -64,9 +64,9 @@ class TestVelaProduct:
def test_forge_measurement_set(self, mock_chdir, mock_mkdir):
with patch("builtins.open", mock_open()) as o:
VelaProduct("test.json").forge_measurement_set(sdm_id="brain_001.58099.678886747686")
assert o.call_count == 5
assert o.call_count == 10
handle = o()
assert handle.write.call_count == 5
assert handle.write.call_count == 10
assert mock_mkdir.call_count == 6
assert mock_chdir.call_count == 2
......
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