def reads_table_with_style_name():
    assert_equal(
        document_matchers.table(style_name=document_matchers.equal_to("Normal Table")),
        read_document_matcher("table[style-name='Normal Table']")
    )
def reads_table_with_style_id():
    assert_equal(
        document_matchers.table(style_id="TableNormal"),
        read_document_matcher("table.TableNormal")
    )
def reads_plain_table():
    assert_equal(
        document_matchers.table(),
        read_document_matcher("table")
    )
Exemple #4
0
def reads_table_with_style_id():
    assert_equal(document_matchers.table(style_id="TableNormal"),
                 read_document_matcher("table.TableNormal"))
Exemple #5
0
def reads_plain_table():
    assert_equal(document_matchers.table(), read_document_matcher("table"))
Exemple #6
0
def reads_table_with_style_name():
    assert_equal(
        document_matchers.table(
            style_name=document_matchers.equal_to("Normal Table")),
        read_document_matcher("table[style-name='Normal Table']"))