Sistema de Apoio ao Processo Legislativo
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

13 lines
302 B

from pytest import mark
from .utils import make_choices
@mark.parametrize("choice_pairs, result", [
(
['A', 'aaa', 'B', 'bbb'],
[[('A', 'aaa'), ('B', 'bbb')], 'A', 'B']
),
])
def test_make_choices(choice_pairs, result):
assert list(make_choices(*choice_pairs)) == result