@pytest.mark.parametrize('i', range(len(ITEMS)))
def test_no_userdata(objects, i):
 assert (objects.history.itemAt(i).userData() is None)

@ pytest . mark . parametrize ( 'i' , range ( len ( ITEMS ) ) ) def test_no_userdata ( objects , i ) : assert ( objects . history . itemAt ( i ) . userData ( ) is None )
check if all items have no user data .