@@ -635,7 +635,7 @@ def test_participants(
635635 participant_data = participants ,
636636 create_tokens = False ,
637637 )
638- for p , d in zip (added , participants ):
638+ for p , d in zip (added , participants , strict = False ):
639639 with subtests .test (msg = "test new participants properties" , token = d ["token" ]):
640640 assert p ["email" ] == d ["email" ]
641641 assert p ["firstname" ] == d ["firstname" ]
@@ -652,7 +652,7 @@ def test_participants(
652652 assert len (participants_list ) == 2
653653
654654 # Check added participant properties
655- for ple , d in zip (participants_list , participants [:2 ]):
655+ for ple , d in zip (participants_list , participants [:2 ], strict = False ):
656656 with subtests .test (msg = "test new participants properties" , token = ple ["tid" ]):
657657 assert ple ["participant_info" ]["email" ] == d ["email" ]
658658 assert ple ["participant_info" ]["firstname" ] == d ["firstname" ]
@@ -661,7 +661,7 @@ def test_participants(
661661 assert ple ["attribute_2" ] == d ["attribute_2" ] # type: ignore[typeddict-item]
662662
663663 # Get participant properties
664- for p , d in zip (added , participants [:2 ]):
664+ for p , d in zip (added , participants [:2 ], strict = False ):
665665 with subtests .test (msg = "test updated participants properties" , token = p ["tid" ]):
666666 properties = client .get_participant_properties (survey_id , p ["tid" ])
667667 assert properties ["email" ] == d ["email" ]
0 commit comments