@pytest.mark.parametrize('text, expected', [('one <tw>o', 'one |two'), ('<one >two', '|one two'), ('|one two', '|one two')])
def test_rl_backward_word(text, expected, lineedit, bridge):
 lineedit.set_aug_text(text)
 bridge.rl_backward_word()
 assert (lineedit.aug_text() == expected)

@ pytest . mark . parametrize ( 'text, expected' , [ ( 'one <tw>o' , 'one |two' ) , ( '<one >two' , '|one two' ) , ( '|one two' , '|one two' ) ] ) def test_rl_backward_word ( text , expected , lineedit , bridge ) : lineedit . set_aug_text ( text ) bridge . rl_backward_word ( ) assert ( lineedit . aug_text ( ) == expected )
test rl_backward_word .