mirror of
https://github.com/Unstructured-IO/unstructured.git
synced 2025-12-24 21:55:33 +00:00
rfctr(auto): improve expression in tests (#3384)
**Summary** In preparation for further work on auto-partitioning, improve the expression in the test-suite.
This commit is contained in:
parent
c27e0d0062
commit
3d6e30a1f7
@ -1,4 +1,4 @@
|
||||
## 0.15.0-dev7
|
||||
## 0.15.0-dev8
|
||||
|
||||
### Enhancements
|
||||
|
||||
|
||||
24
example-docs/fake-email.eml
Normal file
24
example-docs/fake-email.eml
Normal file
@ -0,0 +1,24 @@
|
||||
MIME-Version: 1.0
|
||||
Date: Fri, 16 Dec 2022 17:04:16 -0500
|
||||
Message-ID: <CADc-_xaLB2FeVQ7mNsoX+NJb_7hAJhBKa_zet-rtgPGenj0uVw@mail.gmail.com>
|
||||
Subject: Test Email
|
||||
From: Matthew Robinson <mrobinson@unstructured.io>
|
||||
To: NotMatthew <NotMatthew@notunstructured.com>
|
||||
Content-Type: multipart/alternative; boundary="00000000000095c9b205eff92630"
|
||||
|
||||
--00000000000095c9b205eff92630
|
||||
Content-Type: text/plain; charset="UTF-8"
|
||||
|
||||
This is a test email to use for unit tests.
|
||||
|
||||
Important points:
|
||||
|
||||
- Roses are red
|
||||
- Violets are blue
|
||||
|
||||
--00000000000095c9b205eff92630
|
||||
Content-Type: text/html; charset="UTF-8"
|
||||
|
||||
<div dir="ltr"><div>This is a test email to use for unit tests.</div><div><br></div><div>Important points:</div><div><ul><li>Roses are red</li><li>Violets are blue</li></ul></div></div>
|
||||
|
||||
--00000000000095c9b205eff92630--
|
||||
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@ -137,3 +137,88 @@ EXPECTED_TABLE_WITH_EMOJI = """<table border="1" class="dataframe">
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>"""
|
||||
|
||||
EXPECTED_XLS_TABLE = (
|
||||
"""<table border="1" class="dataframe">
|
||||
<tbody>
|
||||
<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></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>MA</td>
|
||||
<td>What C datatypes are 8 bits? (assume i386)</td>
|
||||
<td>int</td>
|
||||
<td></td>
|
||||
<td>float</td>
|
||||
<td></td>
|
||||
<td>double</td>
|
||||
<td></td>
|
||||
<td>char</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>TF</td>
|
||||
<td>Bagpipes are awesome.</td>
|
||||
<td>true</td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></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></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></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></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>
|
||||
</tbody>
|
||||
</table>"""
|
||||
)
|
||||
|
||||
@ -1 +1 @@
|
||||
__version__ = "0.15.0-dev7" # pragma: no cover
|
||||
__version__ = "0.15.0-dev8" # pragma: no cover
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user