Skip to content

Commit

Permalink
more TryFirst
Browse files Browse the repository at this point in the history
  • Loading branch information
garfix committed Sep 15, 2024
1 parent 29ea088 commit ef1f709
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions tests/integration/Chat80_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@ def test_chat80(self):
pipeline = Pipeline([
FindOne(tokenizer),
FindOne(parser),
FindOne(composer),
TryFirst(composer),
TryFirst(executor),
FindOne(responder)
TryFirst(responder)
])

tests = [
Expand Down
4 changes: 2 additions & 2 deletions tests/integration/WikiData_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ def test_wikidata(self):
pipeline = Pipeline([
FindOne(tokenizer),
FindOne(parser),
FindOne(composer),
TryFirst(composer),
TryFirst(executor),
FindOne(responder)
TryFirst(responder)
])

tests = [
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/AtomExecutor_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def test_processing_exception(self):
pipeline = Pipeline([
FindOne(tokenizer),
FindOne(parser),
FindOne(composer),
TryFirst(composer),
TryFirst(executor),
])

Expand Down
2 changes: 1 addition & 1 deletion tests/unit/Quantifier_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def test_quantification(self):
pipeline = Pipeline([
FindOne(tokenizer),
FindOne(parser),
FindOne(composer),
TryFirst(composer),
TryFirst(executor)
])

Expand Down

0 comments on commit ef1f709

Please sign in to comment.