Пример #1
0
def test_make_brush_list_of_colors(colorArgs, qcolor, style):
    testBrush = makeBrush(colorArgs, style=style)
    refBrushes = [QBrush(c, style=style) for c in qcolor]
    assert testBrush == refBrushes
Пример #2
0
def test_make_brush_list_of_colors(colorArgs, qcolor, style):
    testBrush = makeBrush(colorArgs, style=style)
    refBrushes = [QBrush(c, style=style) for c in qcolor]
    assert testBrush == refBrushes
Пример #3
0
def test_make_brush_single_color(colorArgs, qcolor, style):
    testBrush = makeBrush(colorArgs, style=style)
    assert testBrush == QBrush(qcolor, style=style)
Пример #4
0
def test_make_brush_single_color(colorArgs, qcolor, style):
    testBrush = makeBrush(colorArgs, style=style)
    assert testBrush == QBrush(qcolor, style=style)