Skip to content

Commit

Permalink
update templates
Browse files Browse the repository at this point in the history
  • Loading branch information
jdum committed Jan 27, 2024
1 parent f809a63 commit a836112
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 3 deletions.
Binary file modified odfdo/templates/drawing.otg
Binary file not shown.
Binary file modified odfdo/templates/lpod_styles.odt
Binary file not shown.
Binary file modified odfdo/templates/presentation.otp
Binary file not shown.
Binary file modified odfdo/templates/spreadsheet.ots
Binary file not shown.
Binary file modified odfdo/templates/text.ott
Binary file not shown.
6 changes: 3 additions & 3 deletions tests/test_document.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,19 +223,19 @@ def test_case_save_generator():
def test_get_styles(tmp_path):
document = Document(_copied_template(tmp_path, "lpod_styles.odt"))
styles = document.get_styles()
assert len(styles) == 75
assert len(styles) == 83


def test_get_styles_family_paragraph(tmp_path):
document = Document(_copied_template(tmp_path, "lpod_styles.odt"))
styles = document.get_styles(family="paragraph")
assert len(styles) == 33
assert len(styles) == 40


def test_get_styles_family_paragraph_bytes(tmp_path):
document = Document(_copied_template(tmp_path, "lpod_styles.odt"))
styles = document.get_styles(family=b"paragraph")
assert len(styles) == 33
assert len(styles) == 40


def test_get_styles_family_text(tmp_path):
Expand Down

0 comments on commit a836112

Please sign in to comment.