with ( | |
patch('swh.web.common.service.idx_storage') as mock_idx_storage, | |
patch('swh.web.common.service.storage' as mock_storage | |
): |
Event Timeline
This comment was removed by twitu.
Comment Actions
with patch('swh.web.common.service.idx_storage') as mock_idx_storage, patch('swh.web.common.service.storage') as mock_storage:
giving sytax error on mock_idx_storage
Comment Actions
with patch('swh.web.common.service.idx_storage') as mock_idx_storage, \ patch('swh.web.common.service.storage') as mock_storage:
Adding backslash solves it