@@ -415,6 +415,7 @@ def test_algorithm_no_permission(self):
415415
416416 def test_algorithm_with_permission (self ):
417417 user = UserFactory ()
418+ VerificationFactory (user = user , is_verified = True )
418419 alg = AlgorithmFactory ()
419420 alg .add_editor (user = user )
420421 ci1 = ComponentInterfaceFactory ()
@@ -473,6 +474,7 @@ def test_algorithm_with_permission(self):
473474
474475 def test_algorithm_image_and_model_set (self ):
475476 user = UserFactory ()
477+ VerificationFactory (user = user , is_verified = True )
476478 alg = AlgorithmFactory ()
477479 alg .add_editor (user = user )
478480 ci1 = ComponentInterfaceFactory ()
@@ -535,7 +537,7 @@ def test_user_no_verification(self):
535537
536538 form = SubmissionForm (
537539 user = user ,
538- phase = PhaseFactory (creator_must_be_verified = True ),
540+ phase = PhaseFactory (),
539541 data = {"creator" : user },
540542 )
541543
@@ -552,7 +554,6 @@ def test_user_with_verification(self, is_verified):
552554 VerificationFactory (user = user , is_verified = is_verified )
553555
554556 phase = PhaseFactory (
555- creator_must_be_verified = True ,
556557 submissions_limit_per_user_per_period = 10 ,
557558 )
558559 InvoiceFactory (
@@ -574,6 +575,7 @@ def test_user_with_verification(self, is_verified):
574575
575576 def test_no_valid_archive_items (self ):
576577 user = UserFactory ()
578+ VerificationFactory (user = user , is_verified = True )
577579 p_pred = PhaseFactory (
578580 submission_kind = SubmissionKindChoices .CSV ,
579581 submissions_limit_per_user_per_period = 10 ,
@@ -777,6 +779,7 @@ def test_eval_exists_for_image_and_model(
777779 self , model_active , submission_with_model_present , form_is_valid
778780 ):
779781 user = UserFactory ()
782+ VerificationFactory (user = user , is_verified = True )
780783 alg = AlgorithmFactory ()
781784 alg .add_editor (user = user )
782785 ci1 = ComponentInterfaceFactory ()
0 commit comments