File: test_hyperlinks.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-- 242 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_hyperlinks():
    doc = FixtureDocument("hyperlinks.docx")
    composed = ComposedDocument(
        "master.docx", "hyperlinks.docx")

    assert composed == doc