Skip to content

Commit bb481cb

Browse files
committed
tests: fix test that included specimen_id but doesn't need it
1 parent 44b2185 commit bb481cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_metadata.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -906,7 +906,6 @@ def test_validate_subject_details_if_not_specimen(self):
906906
acquisition_with_details = Acquisition.model_construct(
907907
instrument_id="Test",
908908
subject_id="123456",
909-
specimen_id="123456-001",
910909
data_streams=[],
911910
subject_details=AcquisitionSubjectDetails.model_construct(),
912911
)
@@ -917,6 +916,7 @@ def test_validate_subject_details_if_not_specimen(self):
917916
acquisition=acquisition_with_details,
918917
)
919918
self.assertIsNotNone(metadata_with_details)
919+
920920
# Case where neither specimen_id nor subject_details is provided - should fail
921921
acquisition_missing_both = Acquisition.model_construct(
922922
subject_id="123456",

0 commit comments

Comments
 (0)