@pytest.mark.parametrize('text, expected', [fixme(('<o>ne two', 'one| two')), ('<o>ne two', 'one |two'), fixme(('<one> two', 'one two|')), ('<one> two', 'one |two'), ('one t<wo>', 'one two|')])
def test_rl_forward_word(text, expected, lineedit, bridge):
 lineedit.set_aug_text(text)
 bridge.rl_forward_word()
 assert (lineedit.aug_text() == expected)

@ pytest . mark . parametrize ( 'text, expected' , [ fixme ( ( '<o>ne two' , 'one| two' ) ) , ( '<o>ne two' , 'one |two' ) , fixme ( ( '<one> two' , 'one two|' ) ) , ( '<one> two' , 'one |two' ) , ( 'one t<wo>' , 'one two|' ) ] ) def test_rl_forward_word ( text , expected , lineedit , bridge ) : lineedit . set_aug_text ( text ) bridge . rl_forward_word ( ) assert ( lineedit . aug_text ( ) == expected )
test rl_forward_word .