Add Percentage test with None-value

This commit is contained in:
Florian Bruhin 2016-07-07 14:11:01 +02:00
parent 3fe851ed84
commit fea25d715c

View File

@ -39,6 +39,7 @@ def percentage(qtbot):
(75, '[75%]'),
(25, '[25%]'),
(5, '[ 5%]'),
(None, '[???]'),
])
def test_percentage_text(percentage, y, expected):
"""Test text displayed by the widget based on the y position of a page.