From 5349e2f6394ff73f7ceb6f907330da54041e1d4b Mon Sep 17 00:00:00 2001 From: Anish Date: Tue, 6 Feb 2024 09:48:21 -0500 Subject: [PATCH] LRG pipelines pass by default --- test/test_lrg_2d.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/test/test_lrg_2d.py b/test/test_lrg_2d.py index f6b1d369..8a48b9f2 100644 --- a/test/test_lrg_2d.py +++ b/test/test_lrg_2d.py @@ -69,7 +69,7 @@ def fake_gen_zarr(file_path, input_fname): x_no_api=True, return_state=True, ) - assert state.is_failed() + assert state.is_completed(), "Flow failed" response = {} with open(mock_callback_data) as fd: @@ -105,9 +105,7 @@ def fake_gen_zarr(file_path, input_fname): x_no_api=True, return_state=True, ) - assert ( - state.is_failed() - ) # Except for BRT, everything else should be failed (although partly failed) + assert state.is_completed(), "Flow failed" response = {} with open(mock_callback_data) as fd: