File: test_table.py

package info (click to toggle)
python-docxcompose 1.4.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,100 kB
  • sloc: python: 2,336; makefile: 14; xml: 5; sh: 3
file content (10 lines) | stat: -rw-r--r-- 227 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
from utils import ComposedDocument
from utils import FixtureDocument


def test_table():
    doc = FixtureDocument("table.docx")
    composed = ComposedDocument(
        "master.docx", "table.docx")

    assert composed == doc