Repository navigation
Commit b32b1d7
committed
test(rss): assert concurrent conversions keep every call-specific option
The concurrent-options regression test only pinned keep_data_uris, so it
would still pass if only that option were threaded while another kept
leaking. Add heading_style (atx vs underlined) and bullets ("+" vs "*")
as additional dimensions and assert each conversion keeps all of its own
options.
Uses valid markdownify values: heading_style "atx"/"underlined" (not
"setext", which markdownify silently ignores and would make the test
pass for the wrong reason).
Verified: the test fails on the pre-patch RssConverter (all three options
leak to the other call) and passes on the patched one; full
test_rss.py -> 165 passed; black --check clean.1 parent e686a5d commit b32b1d7
1 file changed
Lines changed: 27 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
101 | 104 | | |
102 | 105 | | |
103 | 106 | | |
104 | | - | |
| 107 | + | |
105 | 108 | | |
106 | 109 | | |
107 | 110 | | |
108 | 111 | | |
| 112 | + | |
| 113 | + | |
109 | 114 | | |
110 | 115 | | |
111 | 116 | | |
112 | | - | |
113 | | - | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
114 | 134 | | |
115 | | - | |
116 | | - | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
117 | 138 | | |
118 | 139 | | |
119 | 140 | | |
| |||
0 commit comments