@@ -755,6 +755,11 @@ def test_cannot_propose_a_talk_if_a_cfp_is_not_specified(graphql_client, user):
755755 audience_levels = ("Beginner" ,),
756756 )
757757
758+ EmailTemplateFactory (
759+ conference = conference ,
760+ identifier = EmailTemplateIdentifier .proposal_received_confirmation ,
761+ )
762+
758763 resp , _ = _submit_talk (graphql_client , conference )
759764
760765 assert resp ["data" ]["sendSubmission" ]["__typename" ] == "SendSubmissionErrors"
@@ -777,6 +782,11 @@ def test_same_user_can_propose_multiple_talks_to_the_same_conference(
777782 audience_levels = ("Beginner" ,),
778783 )
779784
785+ EmailTemplateFactory (
786+ conference = conference ,
787+ identifier = EmailTemplateIdentifier .proposal_received_confirmation ,
788+ )
789+
780790 resp , _ = _submit_talk (graphql_client , conference , title = {"en" : "My first talk" })
781791
782792 assert resp ["data" ]["sendSubmission" ]["title" ] == "My first talk"
@@ -808,6 +818,11 @@ def test_submit_tutorial(graphql_client, user):
808818 audience_levels = ("Beginner" ,),
809819 )
810820
821+ EmailTemplateFactory (
822+ conference = conference ,
823+ identifier = EmailTemplateIdentifier .proposal_received_confirmation ,
824+ )
825+
811826 resp , _ = _submit_tutorial (
812827 graphql_client , conference , title = {"en" : "My first tutorial" }
813828 )
@@ -833,6 +848,11 @@ def test_submit_tutorial_and_talk_to_the_same_conference(graphql_client, user):
833848 audience_levels = ("Beginner" ,),
834849 )
835850
851+ EmailTemplateFactory (
852+ conference = conference ,
853+ identifier = EmailTemplateIdentifier .proposal_received_confirmation ,
854+ )
855+
836856 resp , _ = _submit_tutorial (
837857 graphql_client , conference , title = {"en" : "My first tutorial" }
838858 )
@@ -866,6 +886,11 @@ def test_notes_are_not_required(graphql_client, user):
866886 audience_levels = ("Beginner" ,),
867887 )
868888
889+ EmailTemplateFactory (
890+ conference = conference ,
891+ identifier = EmailTemplateIdentifier .proposal_received_confirmation ,
892+ )
893+
869894 resp , _ = _submit_tutorial (graphql_client , conference , notes = "" )
870895
871896 assert resp ["data" ]["sendSubmission" ]["__typename" ] == "Submission"
@@ -898,6 +923,16 @@ def test_same_user_can_submit_talks_to_different_conferences(graphql_client, use
898923 audience_levels = ("Beginner" ,),
899924 )
900925
926+ EmailTemplateFactory (
927+ conference = conference1 ,
928+ identifier = EmailTemplateIdentifier .proposal_received_confirmation ,
929+ )
930+
931+ EmailTemplateFactory (
932+ conference = conference2 ,
933+ identifier = EmailTemplateIdentifier .proposal_received_confirmation ,
934+ )
935+
901936 resp , _ = _submit_talk (graphql_client , conference1 , title = {"en" : "My first talk" })
902937
903938 assert resp ["data" ]["sendSubmission" ]["title" ] == "My first talk"
@@ -937,6 +972,11 @@ def test_create_submission_tags(graphql_client, user):
937972 audience_levels = ("Beginner" ,),
938973 )
939974
975+ EmailTemplateFactory (
976+ conference = conference ,
977+ identifier = EmailTemplateIdentifier .proposal_received_confirmation ,
978+ )
979+
940980 python , _ = SubmissionTag .objects .get_or_create (name = "python" )
941981 graphql , _ = SubmissionTag .objects .get_or_create (name = "GraphQL" )
942982
0 commit comments