test: update cognify test assertions to include chunks_per_batch parameter

Update all cognify test assertions to expect the chunks_per_batch=None
parameter that was added to the CLI command. This fixes three failing tests:
- test_execute_basic_cognify
- test_cognify_invalid_chunk_size
- test_cognify_nonexistent_ontology_file

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
vasilije 2026-01-11 16:22:06 +01:00
parent 98394fc264
commit b7d5bf5e9c
2 changed files with 3 additions and 0 deletions

View file

@ -238,6 +238,7 @@ class TestCognifyCommand:
ontology_file_path=None,
chunker=TextChunker,
run_in_background=False,
chunks_per_batch=None,
)
@patch("cognee.cli.commands.cognify_command.asyncio.run")

View file

@ -262,6 +262,7 @@ class TestCognifyCommandEdgeCases:
ontology_file_path=None,
chunker=TextChunker,
run_in_background=False,
chunks_per_batch=None,
)
@patch("cognee.cli.commands.cognify_command.asyncio.run", side_effect=_mock_run)
@ -295,6 +296,7 @@ class TestCognifyCommandEdgeCases:
ontology_file_path="/nonexistent/path/ontology.owl",
chunker=TextChunker,
run_in_background=False,
chunks_per_batch=None,
)
@patch("cognee.cli.commands.cognify_command.asyncio.run")