Skip to content

Commit

Permalink
Adapt tests to new semantics
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Willenbrink committed Jan 2, 2025
1 parent 39d1e85 commit 29e0ce6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/core/pipeline/test_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -1214,7 +1214,7 @@ def test__find_next_runnable_component_without_component_inputs(self):
components_inputs = {}
waiting_queue = [("document_builder", document_builder)]
pair = pipe._find_next_runnable_component(components_inputs, waiting_queue)
assert pair == ("document_builder", document_builder)
assert pair == None

def test__find_next_runnable_component_with_component_with_only_variadic_non_greedy_input(self):
document_joiner = component_class("DocumentJoiner", input_types={"docs": Variadic[Document]})()
Expand Down Expand Up @@ -1280,7 +1280,7 @@ def test__find_next_runnable_component_with_different_components_without_any_inp
]
pair = pipe._find_next_runnable_component(components_inputs, waiting_queue)

assert pair == ("document_builder", document_builder)
assert pair == ("document_joiner", document_joiner)

def test__is_stuck_in_a_loop(self):
document_builder = component_class(
Expand Down

0 comments on commit 29e0ce6

Please sign in to comment.