'Testing update to list with index'

def test_update_to_list_with_curr_value(self):

    yed = Yedit('yedit_test.yml', separator=':')
    yed.put('x:y:z', [1, 2, 3])
    yed.update('x:y:z', [5, 6], curr_value=3)
    self.assertTrue((yed.get('x:y:z') == [1, 2, [5, 6]]))
    self.assertTrue(yed.exists('x:y:z', [5, 6]))
    self.assertFalse(yed.exists('x:y:z', 4))
