コード例 #1
0
def test_border_style():
    table = Table((0, 0), 10, 10)
    border_style = table.new_border_style(color=1,
                                          status=True,
                                          linetype='DOT',
                                          priority=99)
    assert border_style == {
        'color': 1,
        'status': True,
        'linetype': 'DOT',
        'priority': 99
    }
コード例 #2
0
def test_border_style():
    table = Table((0, 0), 10, 10)
    border_style = table.new_border_style(color=1,
                                          status=True,
                                          linetype="DOT",
                                          priority=99)
    assert border_style == {
        "color": 1,
        "status": True,
        "linetype": "DOT",
        "priority": 99,
    }