Skip to content

Commit

Permalink
Issue 59
Browse files Browse the repository at this point in the history
  • Loading branch information
masaccio committed Jul 14, 2023
1 parent c2a4a0e commit 8001049
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
Binary file added tests/data/issue-59.numbers
Binary file not shown.
9 changes: 9 additions & 0 deletions tests/test_issues.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,3 +306,12 @@ def test_issue_56(tmp_path):
assert new_table.cell("A2").style.bg_color == (255, 149, 202)
assert new_table.cell("B2").style.alignment.horizontal.name == "RIGHT"
assert new_table.cell("B2").style.alignment.vertical.name == "TOP"


def test_issue_59():
from numbers_parser import Document

doc = Document("tests/data/issue-59.numbers")
sheets = doc.sheets
tables = sheets[0].tables
assert tables[0].cell("J2").value == "Saturday, 15 May 2021"

0 comments on commit 8001049

Please sign in to comment.