Skip to content

Commit 97f9ff0

Browse files
committed
Yet another tuple layer
1 parent 9df629d commit 97f9ff0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/server/api/test_workflow.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -203,10 +203,10 @@ def test_register_dc_group_new_atlas(mock_transport, murfey_db_session: Session)
203203
# Check the call to insert the atlas into ispyb
204204
atlas_args = mock_transport.do_insert_atlas.call_args_list
205205
assert len(atlas_args) == 1
206-
assert atlas_args[0][0].dataCollectionGroupId == 1
207-
assert atlas_args[0][0].atlasImage == "/path/to/Atlas_2.jpg"
208-
assert atlas_args[0][0].pixelSize == 1e-4
209-
assert atlas_args[0][0].cassetteSlot == 10
206+
assert atlas_args[0][0][0].dataCollectionGroupId == 1
207+
assert atlas_args[0][0][0].atlasImage == "/path/to/Atlas_2.jpg"
208+
assert atlas_args[0][0][0].pixelSize == 1e-4
209+
assert atlas_args[0][0][0].cassetteSlot == 10
210210

211211
# Check the data collection group atlas was updated
212212
new_dcg = murfey_db_session.exec(

0 commit comments

Comments
 (0)