Skip to content
Snippets Groups Projects
Commit 448fc9d4 authored by Daniel Nemergut's avatar Daniel Nemergut
Browse files

Forgot to update assertions

parent 99ec4eff
No related branches found
No related tags found
1 merge request!1617WS-2227 Reusing rawdata directory
......@@ -90,9 +90,9 @@ class TestDeliveryConveyor:
assert mock_dirs.call_count == 1
assert mock_chown.call_count == 1
assert mock_chmod.call_count == 1
assert mock_move.call_count == 3
assert mock_system.call_count == 3
assert mock_link.call_count == 3
assert mock_move.call_count == 2
assert mock_system.call_count == 2
assert mock_link.call_count == 2
@patch("os.symlink")
def symlink_qa(self, mock_link):
......
......@@ -72,8 +72,8 @@ class TestRetrievalConveyor:
path = fake_determine_spool()
dir_list = [WORKING, PRODUCTS]
conveyor.break_symlinks(path, dir_list)
assert mock_sym.call_count == 3
assert mock_unlink.call_count == 3
assert mock_sym.call_count == 2
assert mock_unlink.call_count == 2
@patch("shutil.move")
def test_move_subdirectories_to_spool(self, mock_move):
......@@ -81,7 +81,7 @@ class TestRetrievalConveyor:
spool_path = fake_determine_spool()
dir_list = [WORKING, PRODUCTS]
conveyor.move_subdirectories_to_spool(qa_path, spool_path, dir_list)
assert mock_move.call_count == 3
assert mock_move.call_count == 2
def test_determine_qa_directory(self):
path = conveyor.determine_qa_directory()
......
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