@pytest.mark.parametrize('text, expected', [('f<oo>bar', 'fo|obar'), ('|foobar', '|foobar')])
def test_rl_backward_char(text, expected, lineedit, bridge):
 lineedit.set_aug_text(text)
 bridge.rl_backward_char()
 assert (lineedit.aug_text() == expected)

@ pytest . mark . parametrize ( 'text, expected' , [ ( 'f<oo>bar' , 'fo|obar' ) , ( '|foobar' , '|foobar' ) ] ) def test_rl_backward_char ( text , expected , lineedit , bridge ) : lineedit . set_aug_text ( text ) bridge . rl_backward_char ( ) assert ( lineedit . aug_text ( ) == expected )
test rl_backward_char .