Orchestrata Ultimate › Tests › Reference › session › test_session_fact_hook

Tests reference — tests/session/test_session_fact_hook.py

Module of tests/session, split out because the directory page would be too large.

Prose pending.

tests/session/test_session_fact_hook.py

source · 18 tests · 142 lines

Pure tests for session.hooks.session_fact_hook.extract_facts.

Covers: session.hooks.session_fact_hook

Kind Name Line Description
class TestExtractFactsRead 29
method TestExtractFactsRead.test_read_context_file 30
method TestExtractFactsRead.test_read_claude_md 34
method TestExtractFactsRead.test_read_other_file 38
class TestExtractFactsBash 43
method TestExtractFactsBash.test_bash_pytest_passing 44
method TestExtractFactsBash.test_bash_pytest_failing 51
method TestExtractFactsBash.test_bash_python_m_pytest 58
method TestExtractFactsBash.test_bash_git_status_clean 64
method TestExtractFactsBash.test_bash_git_status_dirty 72
method TestExtractFactsBash.test_bash_git_commit_success 80
method TestExtractFactsBash.test_bash_git_commit_failure 89
method TestExtractFactsBash.test_bash_git_push_success 98
method TestExtractFactsBash.test_bash_git_push_failure 107
method TestExtractFactsBash.test_bash_no_relevant_command 116
class TestExtractFactsWrite 121
method TestExtractFactsWrite.test_write_context_md 122
method TestExtractFactsWrite.test_write_handover 126
method TestExtractFactsWrite.test_edit_handover_uppercase 130
method TestExtractFactsWrite.test_write_other_file 134
class TestExtractFactsUnknownTool 139
method TestExtractFactsUnknownTool.test_unknown_tool_returns_empty 140