def test_currentitem(objects):
 assert (objects.history.currentItemIndex() == 1)

def test_currentitem ( objects ) : assert ( objects . history . currentItemIndex ( ) == 1 )
check if the current item index was loaded correctly .