edit_update_rec(): id=-1 is valid now, use -2

This commit is contained in:
Arun Prakash Jana 2017-10-09 01:33:21 +05:30
parent f72f8af3d8
commit 01e3b005b4

View File

@ -1075,7 +1075,7 @@ def test_update_rec_update_all_bookmark(caplog, read_in_retval):
'get_system_editor_retval, index, exp_res', 'get_system_editor_retval, index, exp_res',
[ [
['none', 0, False], ['none', 0, False],
['nano', -1, False], ['nano', -2, False],
] ]
) )
def test_edit_update_rec_with_invalid_input(get_system_editor_retval, index, exp_res): def test_edit_update_rec_with_invalid_input(get_system_editor_retval, index, exp_res):