Orchestrata Ultimate › Tests › Reference › generated_recovery › test_session_kg_context
Tests reference — tests/generated_recovery/test_session_kg_context.py
Module of tests/generated_recovery, split out because the directory page would be too large.
Prose pending.
tests/generated_recovery/test_session_kg_context.py
source · 25 tests · 406 lines
Auto-generated tests for: session.kg_context
Covers: session.kg_context
| Kind | Name | Line | Description |
|---|---|---|---|
| class | TestKnowledgeGraphContextFormatForInjectionBranches |
32 | Branch/exception tests for: session.kg_context.KnowledgeGraphContext.format_for_injection |
| method | TestKnowledgeGraphContextFormatForInjectionBranches.test_L275_when_isinstance_context_list_true |
61 | Line 275: condition isinstance(context, list) is True. |
| method | TestKnowledgeGraphContextFormatForInjectionBranches.test_L275_when_isinstance_context_list_false |
69 | Line 275: condition isinstance(context, list) is False. |
| method | TestKnowledgeGraphContextFormatForInjectionBranches.test_L276_when_not_context_true |
77 | Line 276: condition not context is True. |
| method | TestKnowledgeGraphContextFormatForInjectionBranches.test_L276_when_not_context_false |
85 | Line 276: condition not context is False. |
| method | TestKnowledgeGraphContextFormatForInjectionBranches.test_L282_when_v_true |
93 | Line 282: condition v is True. |
| method | TestKnowledgeGraphContextFormatForInjectionBranches.test_L282_when_v_false |
101 | Line 282: condition v is False. |
| method | TestKnowledgeGraphContextFormatForInjectionBranches.test_L287_when_isinstance_context_dict_true |
109 | Line 287: condition isinstance(context, dict) is True. |
| method | TestKnowledgeGraphContextFormatForInjectionBranches.test_L287_when_isinstance_context_dict_false |
117 | Line 287: condition isinstance(context, dict) is False. |
| method | TestKnowledgeGraphContextFormatForInjectionBranches.test_L290_when_isinstance_value_list_true |
125 | Line 290: condition isinstance(value, list) is True. |
| method | TestKnowledgeGraphContextFormatForInjectionBranches.test_L290_when_isinstance_value_list_false |
133 | Line 290: condition isinstance(value, list) is False. |
| method | TestKnowledgeGraphContextFormatForInjectionBranches.test_L291_when_value_true |
141 | Line 291: condition value is True. |
| method | TestKnowledgeGraphContextFormatForInjectionBranches.test_L291_when_value_false |
149 | Line 291: condition value is False. |
| method | TestKnowledgeGraphContextFormatForInjectionBranches.test_L293_when_value_true |
157 | Line 293: condition value is True. |
| method | TestKnowledgeGraphContextFormatForInjectionBranches.test_L293_when_value_false |
165 | Line 293: condition value is False. |
| class | TestKnowledgeGraphContextGetSpecContextBranches |
174 | Branch/exception tests for: session.kg_context.KnowledgeGraphContext.get_spec_context |
| method | TestKnowledgeGraphContextGetSpecContextBranches.test_L110_when_not_rows_true |
198 | Line 110: condition not rows is True. |
| method | TestKnowledgeGraphContextGetSpecContextBranches.test_L110_when_not_rows_false |
206 | Line 110: condition not rows is False. |
| class | TestKnowledgeGraphContextGetFileContextBranches |
215 | Branch/exception tests for: session.kg_context.KnowledgeGraphContext.get_file_context |
| method | TestKnowledgeGraphContextGetFileContextBranches.test_L89_when_not_rows_true |
236 | Line 89: condition not rows is True. |
| method | TestKnowledgeGraphContextGetFileContextBranches.test_L89_when_not_rows_false |
244 | Line 89: condition not rows is False. |
| class | TestKnowledgeGraphContextGetClassContextBranches |
253 | Branch/exception tests for: session.kg_context.KnowledgeGraphContext.get_class_context |
| method | TestKnowledgeGraphContextGetClassContextBranches.test_L150_when_not_rows_true |
276 | Line 150: condition not rows is True. |
| method | TestKnowledgeGraphContextGetClassContextBranches.test_L150_when_not_rows_false |
284 | Line 150: condition not rows is False. |
| class | TestKnowledgeGraphContextMultiHopBranches |
293 | Branch/exception tests for: session.kg_context.KnowledgeGraphContext.multi_hop |
| method | TestKnowledgeGraphContextMultiHopBranches.test_L251_when_not_rows_true |
320 | Line 251: condition not rows is True. |
| method | TestKnowledgeGraphContextMultiHopBranches.test_L251_when_not_rows_false |
328 | Line 251: condition not rows is False. |
| class | TestKnowledgeGraphContextConnectBranches |
337 | Branch/exception tests for: session.kg_context.KnowledgeGraphContext.connect |
| method | TestKnowledgeGraphContextConnectBranches.test_handles_Exception_L42 |
363 | Line 42: Exception handler — suppressed. |
| class | TestKnowledgeGraphContextGetSessionContextBranches |
370 | Branch/exception tests for: session.kg_context.KnowledgeGraphContext.get_session_context |
| method | TestKnowledgeGraphContextGetSessionContextBranches.test_L179_when_not_rows_true |
392 | Line 179: condition not rows is True. |
| method | TestKnowledgeGraphContextGetSessionContextBranches.test_L179_when_not_rows_false |
400 | Line 179: condition not rows is False. |