Add Percentage test with None-value
This commit is contained in:
parent
3fe851ed84
commit
fea25d715c
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user