Skip to content

Commit 74268e2

Browse files
committed
fix: Fix test after changing distillation pipeline return type
1 parent 2d42541 commit 74268e2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/e2e/dags/pipelines/test_notice_processor_pipelines.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def test_notice_processor_pipelines(fake_mongodb_client):
3333
notice_repository.update(notice=notice)
3434
result_list = notices_batch_distillation_pipeline(notice_ids=[notice_id], mongodb_client=fake_mongodb_client)
3535
assert len(result_list) == 1
36-
notice_id = result_list[0]
36+
notice_id = result_list[0].notice.ted_id
3737
notice = notice_repository.get(reference=notice_id)
3838
pipelines = [notice_validation_pipeline, notice_package_pipeline, notice_publish_pipeline]
3939
notice_states = [NoticeStatus.DISTILLED, NoticeStatus.VALIDATED, NoticeStatus.PACKAGED, NoticeStatus.PUBLISHED]

0 commit comments

Comments
 (0)