def testnewdocument():
    document, docbody, relationships = simpledoc()
    coreprops = coreproperties(
        'Python docx testnewdocument',
        'A short example of making docx from Python', 'Alan Brooks',
        ['python', 'Office Open XML', 'Word']
    )
    savedocx(
        document, coreprops, appproperties(), contenttypes(), websettings(),
        wordrelationships(relationships), TEST_FILE
    )
Test that a new document can be created
dataset/ETHPy150Open mikemaccana/python-docx/tests/test_docx.py/testnewdocument