Skip to content

[tests] Tests for conditional pipeline blocks#13247

Merged
sayakpaul merged 9 commits intomainfrom
tests-conditional-pipeline-blocks
Mar 26, 2026
Merged

[tests] Tests for conditional pipeline blocks#13247
sayakpaul merged 9 commits intomainfrom
tests-conditional-pipeline-blocks

Conversation

@sayakpaul
Copy link
Copy Markdown
Member

What does this PR do?

Implements a test suite for the conditional blocks for the following functionalities:

  • get_workflow() works as expected.
  • select_blocks() works as expected.
  • Automatic workflow selection works as expected.

The tests were written with components emulating the structure that we might get in the real world.

Additionally, I moved the custom block requirement-related tests to test_modular_pipelines_custom_blocks.py.

@sayakpaul sayakpaul requested a review from yiyixuxu March 10, 2026 13:00
Copy link
Copy Markdown
Collaborator

@yiyixuxu yiyixuxu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks

@sayakpaul sayakpaul merged commit 85ffcf1 into main Mar 26, 2026
11 of 12 checks passed
@sayakpaul sayakpaul deleted the tests-conditional-pipeline-blocks branch March 26, 2026 03:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants