Skip to content

Commit fad7f2a

Browse files
committed
Fix error in test
1 parent 27c50c7 commit fad7f2a

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
@@ -71,7 +71,7 @@ def set_up_picking_db(murfey_db_session: Session):
7171

7272

7373
def test_ids_tomo_classification(murfey_db_session: Session):
74-
dcg_id, first_dc, first_pj = set_up_picking_db(murfey_db_session)
74+
dcg_id, first_dc_id, first_pj_id = set_up_picking_db(murfey_db_session)
7575

7676
# Insert a second data collection, processing job and autoproc program
7777
second_dc: DataCollection = get_or_create_db_entry(
@@ -105,7 +105,7 @@ def test_ids_tomo_classification(murfey_db_session: Session):
105105
11, "test_recipe", murfey_db_session
106106
)
107107
assert returned_ids[0] == dcg_id
108-
assert returned_ids[1] == first_pj.id
108+
assert returned_ids[1] == first_pj_id
109109

110110

111111
@mock.patch("murfey.workflows.tomo.picking._transport_object")

0 commit comments

Comments
 (0)