461bf6fd40
CI / lint (3.11) (push) Has been cancelled
CI / lint (3.12) (push) Has been cancelled
CI / lint (3.13) (push) Has been cancelled
CI / shellcheck (push) Has been cancelled
CI / shfmt (push) Has been cancelled
CI / setup (3.11) (push) Has been cancelled
CI / setup (3.12) (push) Has been cancelled
CI / setup (3.13) (push) Has been cancelled
CI / check-licenses (3.12) (push) Has been cancelled
CI / test_unit (3.11) (push) Has been cancelled
CI / test_unit (3.12) (push) Has been cancelled
CI / test_unit (3.13) (push) Has been cancelled
CI / test_unit_no_extras (3.11) (push) Has been cancelled
CI / test_unit_no_extras (3.12) (push) Has been cancelled
CI / test_json_to_html (3.12) (push) Has been cancelled
CI / test_unit_no_extras (3.13) (push) Has been cancelled
CI / test_unit_dependency_extras (csv, 3.12, --extra csv) (push) Has been cancelled
CI / test_unit_dependency_extras (xlsx, 3.11, --extra xlsx) (push) Has been cancelled
CI / test_unit_dependency_extras (xlsx, 3.12, --extra xlsx) (push) Has been cancelled
CI / test_unit_dependency_extras (csv, 3.11, --extra csv) (push) Has been cancelled
CI / test_unit_dependency_extras (csv, 3.13, --extra csv) (push) Has been cancelled
CI / test_unit_dependency_extras (docx, 3.11, --extra docx) (push) Has been cancelled
CI / test_unit_dependency_extras (docx, 3.12, --extra docx) (push) Has been cancelled
CI / test_unit_dependency_extras (docx, 3.13, --extra docx) (push) Has been cancelled
CI / test_unit_dependency_extras (markdown, 3.11, --extra md) (push) Has been cancelled
CI / test_unit_dependency_extras (markdown, 3.12, --extra md) (push) Has been cancelled
CI / test_unit_dependency_extras (markdown, 3.13, --extra md) (push) Has been cancelled
CI / test_unit_dependency_extras (odt, 3.11, --extra odt) (push) Has been cancelled
CI / test_unit_dependency_extras (odt, 3.12, --extra odt) (push) Has been cancelled
CI / test_unit_dependency_extras (odt, 3.13, --extra odt) (push) Has been cancelled
CI / test_unit_dependency_extras (pdf-image, 3.11, --extra pdf --extra image --extra paddleocr) (push) Has been cancelled
CI / test_unit_dependency_extras (pdf-image, 3.12, --extra pdf --extra image --extra paddleocr) (push) Has been cancelled
CI / test_unit_dependency_extras (pdf-image, 3.13, --extra pdf --extra image --extra paddleocr) (push) Has been cancelled
CI / test_unit_dependency_extras (pptx, 3.11, --extra pptx) (push) Has been cancelled
CI / test_unit_dependency_extras (pptx, 3.12, --extra pptx) (push) Has been cancelled
CI / test_unit_dependency_extras (pptx, 3.13, --extra pptx) (push) Has been cancelled
CI / test_unit_dependency_extras (pypandoc, 3.11, --extra epub --extra org --extra rtf --extra rst) (push) Has been cancelled
CI / test_unit_dependency_extras (pypandoc, 3.12, --extra epub --extra org --extra rtf --extra rst) (push) Has been cancelled
CI / test_unit_dependency_extras (pypandoc, 3.13, --extra epub --extra org --extra rtf --extra rst) (push) Has been cancelled
Build And Push Docker Image / set-short-sha (push) Has been cancelled
Partition Benchmark / setup (push) Has been cancelled
Partition Benchmark / Measure and compare partition() runtime (push) Has been cancelled
CI / test_unit_dependency_extras (xlsx, 3.13, --extra xlsx) (push) Has been cancelled
CI / test_ingest_src (3.12) (push) Has been cancelled
CI / test_json_to_markdown (3.12) (push) Has been cancelled
CI / changelog (push) Has been cancelled
CI / test_dockerfile (push) Has been cancelled
CodeQL / Analyze (python) (push) Has been cancelled
Build And Push Docker Image / build-images (linux/amd64, opensource-linux-8core) (push) Has been cancelled
Build And Push Docker Image / build-images (linux/arm64, ubuntu-24.04-arm) (push) Has been cancelled
Build And Push Docker Image / publish-images (push) Has been cancelled
143 lines
3.8 KiB
Python
143 lines
3.8 KiB
Python
EXPECTED_TABLE = (
|
||
"<table>"
|
||
"<tr><td>Stanley Cups</td><td/><td/></tr>"
|
||
"<tr><td>Team</td><td>Location</td><td>Stanley Cups</td></tr>"
|
||
"<tr><td>Blues</td><td>STL</td><td>1</td></tr>"
|
||
"<tr><td>Flyers</td><td>PHI</td><td>2</td></tr>"
|
||
"<tr><td>Maple Leafs</td><td>TOR</td><td>13</td></tr>"
|
||
"</table>"
|
||
)
|
||
|
||
EXPECTED_TABLE_SEMICOLON_DELIMITER = (
|
||
"<table>"
|
||
"<tr><td>Year</td><td>Month</td><td>Revenue</td><td>Costs</td><td/></tr>"
|
||
"<tr><td>2022</td><td>1</td><td>123</td><td>-123</td><td/></tr>"
|
||
"<tr><td>2023</td><td>2</td><td>143,1</td><td>-814,38</td><td/></tr>"
|
||
"<tr><td>2024</td><td>3</td><td>215,32</td><td>-11,08</td><td/></tr>"
|
||
"</table>"
|
||
)
|
||
|
||
EXPECTED_TABLE_WITH_EMOJI = (
|
||
"<table>"
|
||
"<tr><td>Stanley Cups</td><td/><td/></tr>"
|
||
"<tr><td>Team</td><td>Location</td><td>Stanley Cups</td></tr>"
|
||
"<tr><td>Blues</td><td>STL</td><td>1</td></tr>"
|
||
"<tr><td>Flyers</td><td>PHI</td><td>2</td></tr>"
|
||
"<tr><td>Maple Leafs</td><td>TOR</td><td>13</td></tr>"
|
||
"<tr><td>👨\\U+1F3FB🔧</td><td>TOR</td><td>15</td></tr>"
|
||
"</table>"
|
||
)
|
||
|
||
EXPECTED_TABLE_XLSX = (
|
||
"<table>"
|
||
"<tr><td>Team</td><td>Location</td><td>Stanley Cups</td></tr>"
|
||
"<tr><td>Blues</td><td>STL</td><td>1</td></tr>"
|
||
"<tr><td>Flyers</td><td>PHI</td><td>2</td></tr>"
|
||
"<tr><td>Maple Leafs</td><td>TOR</td><td>13</td></tr>"
|
||
"</table>"
|
||
)
|
||
|
||
EXPECTED_TABLE_WITH_LINE_DELIMITER = (
|
||
"<table>"
|
||
"<tr><td>col1</td><td>col2</td><td>col3</td></tr>"
|
||
"<tr><td>a</td><td>b</td><td>c</td></tr>"
|
||
"<tr><td>d</td><td>e</td><td>f</td></tr>"
|
||
"<tr><td>g</td><td>h</td><td>i</td></tr>"
|
||
"</table>"
|
||
)
|
||
|
||
|
||
EXPECTED_TITLE = "Stanley Cups"
|
||
|
||
EXPECTED_TEXT = (
|
||
"Stanley Cups Team Location Stanley Cups Blues STL 1 Flyers PHI 2 Maple Leafs TOR 13"
|
||
)
|
||
|
||
EXPECTED_TEXT_XLSX = "Team Location Stanley Cups Blues STL 1 Flyers PHI 2 Maple Leafs TOR 13"
|
||
|
||
EXPECTED_TEXT_WITH_EMOJI = (
|
||
"Stanley Cups "
|
||
"Team Location Stanley Cups Blues STL 1 Flyers PHI 2 Maple Leafs TOR 13 👨\\U+1F3FB🔧 TOR 15"
|
||
)
|
||
|
||
EXPECTED_TEXT_SEMICOLON_DELIMITER = (
|
||
"Year Month Revenue Costs 2022 1 123 -123 2023 2 143,1 -814,38 2024 3 215,32 -11,08"
|
||
)
|
||
|
||
EXPECTED_TEXT_WITH_LINE_DELIMITER = "col1 col2 col3 a b c d e f g h i"
|
||
|
||
EXPECTED_XLS_TABLE = (
|
||
"<table><tr>"
|
||
"<td>MC</td>"
|
||
"<td>What is 2+2?</td>"
|
||
"<td>4</td>"
|
||
"<td>correct</td>"
|
||
"<td>3</td>"
|
||
"<td>incorrect</td>"
|
||
"<td/>"
|
||
"<td/>"
|
||
"<td/>"
|
||
"</tr><tr>" # -----
|
||
"<td>MA</td>"
|
||
"<td>What C datatypes are 8 bits? (assume i386)</td>"
|
||
"<td>int</td>"
|
||
"<td/>"
|
||
"<td>float</td>"
|
||
"<td/>"
|
||
"<td>double</td>"
|
||
"<td/>"
|
||
"<td>char</td>"
|
||
"</tr><tr>" # -----
|
||
"<td>TF</td>"
|
||
"<td>Bagpipes are awesome.</td>"
|
||
"<td>true</td>"
|
||
"<td/>"
|
||
"<td/>"
|
||
"<td/>"
|
||
"<td/>"
|
||
"<td/>"
|
||
"<td/>"
|
||
"</tr><tr>" # -----
|
||
"<td>ESS</td>"
|
||
"<td>How have the original Henry Hornbostel buildings influenced campus architecture and"
|
||
" design in the last 30 years?</td>"
|
||
"<td/>"
|
||
"<td/>"
|
||
"<td/>"
|
||
"<td/>"
|
||
"<td/>"
|
||
"<td/>"
|
||
"<td/>"
|
||
"</tr><tr>" # -----
|
||
"<td>ORD</td>"
|
||
"<td>Rank the following in their order of operation.</td>"
|
||
"<td>Parentheses</td>"
|
||
"<td>Exponents</td>"
|
||
"<td>Division</td>"
|
||
"<td>Addition</td>"
|
||
"<td/>"
|
||
"<td/>"
|
||
"<td/>"
|
||
"</tr><tr>" # -----
|
||
"<td>FIB</td>"
|
||
"<td>The student activities fee is</td>"
|
||
"<td>95</td>"
|
||
"<td>dollars for students enrolled in</td>"
|
||
"<td>19</td>"
|
||
"<td>units or more,</td>"
|
||
"<td/>"
|
||
"<td/>"
|
||
"<td/>"
|
||
"</tr><tr>" # -----
|
||
"<td>MAT</td>"
|
||
"<td>Match the lower-case greek letter with its capital form.</td>"
|
||
"<td>λ</td>"
|
||
"<td>Λ</td>"
|
||
"<td>α</td>"
|
||
"<td>γ</td>"
|
||
"<td>Γ</td>"
|
||
"<td>φ</td>"
|
||
"<td>Φ</td>"
|
||
"</tr></table>"
|
||
)
|