Commit 760d1ab
committed
fix: Update tests to use public component API
Fix remaining test failures after exposing components publicly:
tests/changelog/formatting/test_markdown_output.py:
- test_markdown_section_data_generation: Use markdown_generator.get_markdown_section_data()
- test_md_key_generation: Use markdown_generator.get_md_key()
tests/changelog/conftest.py:
- mock_diffstix fixture: Add mock hierarchy_builder component
- complex_diffstix_with_all_changes fixture: Add mock markdown_generator and hierarchy_builder
This fixes AttributeError issues where tests were calling removed facade methods
or accessing components that weren't mocked.1 parent 615941d commit 760d1ab
File tree
2 files changed
+16
-2
lines changed- tests/changelog
- formatting
2 files changed
+16
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
682 | 682 | | |
683 | 683 | | |
684 | 684 | | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
685 | 690 | | |
686 | 691 | | |
687 | 692 | | |
| |||
1133 | 1138 | | |
1134 | 1139 | | |
1135 | 1140 | | |
| 1141 | + | |
| 1142 | + | |
| 1143 | + | |
| 1144 | + | |
| 1145 | + | |
| 1146 | + | |
| 1147 | + | |
| 1148 | + | |
| 1149 | + | |
1136 | 1150 | | |
1137 | 1151 | | |
1138 | 1152 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
127 | | - | |
| 127 | + | |
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
| |||
0 commit comments