Orchestrata Ultimate › Tests › Reference › generated_recovery › test_verification_autofix_format_fixes
Tests reference — tests/generated_recovery/test_verification_autofix_format_fixes.py
Module of tests/generated_recovery, split out because the directory page would be too large.
Prose pending.
tests/generated_recovery/test_verification_autofix_format_fixes.py
source · 13 tests · 217 lines
Auto-generated tests for: verification.autofix.format_fixes
Covers: verification.autofix.format_fixes
| Kind | Name | Line | Description |
|---|---|---|---|
| class | TestAutofixF821DatetimeBranches |
34 | Branch/exception tests for: verification.autofix.format_fixes.autofix_f821_datetime |
| method | TestAutofixF821DatetimeBranches.test_L103_when_content_is_none_true |
59 | Line 103: condition content is None is True. |
| method | TestAutofixF821DatetimeBranches.test_L103_when_content_is_none_false |
67 | Line 103: condition content is None is False. |
| method | TestAutofixF821DatetimeBranches.test_L105_when_not_re_search_datetime_usage_re_content_true |
75 | Line 105: condition not re.search(_DATETIME_USAGE_RE, content) is True. |
| method | TestAutofixF821DatetimeBranches.test_L105_when_not_re_search_datetime_usage_re_content_false |
83 | Line 105: condition not re.search(_DATETIME_USAGE_RE, content) is False. |
| method | TestAutofixF821DatetimeBranches.test_L107_when_has_datetime_import_content_true |
91 | Line 107: condition _has_datetime_import(content) is True. |
| method | TestAutofixF821DatetimeBranches.test_L107_when_has_datetime_import_content_false |
99 | Line 107: condition _has_datetime_import(content) is False. |
| method | TestAutofixF821DatetimeBranches.test_L111_when_content_original_true |
107 | Line 111: condition content != original is True. |
| method | TestAutofixF821DatetimeBranches.test_L111_when_content_original_false |
115 | Line 111: condition content != original is False. |
| class | TestAutofixParseArgsBranches |
124 | Branch/exception tests for: verification.autofix.format_fixes.autofix_parse_args |
| method | TestAutofixParseArgsBranches.test_L71_when_content_is_none_true |
150 | Line 71: condition content is None is True. |
| method | TestAutofixParseArgsBranches.test_L71_when_content_is_none_false |
158 | Line 71: condition content is None is False. |
| method | TestAutofixParseArgsBranches.test_L84_when_content_original_true |
166 | Line 84: condition content != original is True. |
| method | TestAutofixParseArgsBranches.test_L84_when_content_original_false |
174 | Line 84: condition content != original is False. |
| class | TestAutofixLineLengthBranches |
183 | Branch/exception tests for: verification.autofix.format_fixes.autofix_line_length |
| method | TestAutofixLineLengthBranches.test_handles_TimeoutExpired_L36 |
211 | Line 36: (subprocess.TimeoutExpired, FileNotFoundError) handler — suppressed. |