Skip to content

Commit d679771

Browse files
committed
Mocked wrong thing
1 parent 569c670 commit d679771

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/workflows/tomo/test_tomo_picking.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ def test_picked_tomogram_not_run_class2d(
152152

153153
@mock.patch("murfey.workflows.tomo.picking._transport_object")
154154
@mock.patch("murfey.workflows.tomo.picking._ids_tomo_classification")
155-
@mock.patch("murfey.workflows.tomo.picking.sqlalchemy.func")
155+
@mock.patch("murfey.workflows.tomo.picking.func")
156156
def test_picked_tomogram_run_class2d_with_diameter(
157157
mock_func, mock_ids, mock_transport, murfey_db_session: Session, tmp_path
158158
):
@@ -239,7 +239,7 @@ def test_picked_tomogram_run_class2d_with_diameter(
239239

240240
@mock.patch("murfey.workflows.tomo.picking._transport_object")
241241
@mock.patch("murfey.workflows.tomo.picking._ids_tomo_classification")
242-
@mock.patch("murfey.workflows.tomo.picking.sqlalchemy.func")
242+
@mock.patch("murfey.workflows.tomo.picking.func")
243243
def test_picked_tomogram_run_class2d_estimate_diameter(
244244
mock_func, mock_ids, mock_transport, murfey_db_session: Session, tmp_path
245245
):

0 commit comments

Comments
 (0)