Skip to content

Convert codex tool_choice test to pytest style#752

Merged
nicoloboschi merged 5 commits intomainfrom
fix/codex-test-pytest
Mar 30, 2026
Merged

Convert codex tool_choice test to pytest style#752
nicoloboschi merged 5 commits intomainfrom
fix/codex-test-pytest

Conversation

@nicoloboschi
Copy link
Copy Markdown
Collaborator

Summary

Test plan

  • uv run pytest tests/test_codex_tool_choice.py -v — 2 passed
  • Ruff lint + format clean

Follow-up to #734: replace unittest.TestCase + manual sys.path
manipulation with idiomatic pytest + @pytest.mark.asyncio,
matching the rest of the test suite.
Update expected count from 20 to 21 and add assertions for fields
added by recent PRs: retain_default_strategy, retain_strategies,
max_observations_per_scope, reflect_source_facts_max_tokens,
llm_gemini_safety_settings, mcp_enabled_tools.
@nicoloboschi nicoloboschi force-pushed the fix/codex-test-pytest branch from 03ea61e to 4d3e7ab Compare March 30, 2026 09:05
The LlamaIndex integration doc was added to docs/ (next version) in
#672 but not to versioned_docs/version-0.4/, causing a broken link
on the /integrations page which resolves to the latest version.
Run generate-docs-skill.sh to pick up new integration pages
(codex, llamaindex) and updated configuration docs.
Same issue as LlamaIndex: doc was added to docs/ (next) but not
versioned_docs/version-0.4/, causing broken link on /integrations.
@nicoloboschi nicoloboschi merged commit 38e03e4 into main Mar 30, 2026
44 of 45 checks passed
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.

1 participant