File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ def test_quoted_reply(self):
3434 )
3535 self .assertTrue (wizard .partner_ids )
3636 self .assertEqual (message .email_from , wizard .partner_ids .email_formatted )
37+ self .assertEqual (action ["context" ]["default_subject" ], "Re: demo partner" )
3738 # the onchange in the composer isn't triggered in tests, so we check for the
3839 # correct quote in the context
3940 email_quote = re .search ("<p>.*?</p>" , wizard .env .context ["quote_body" ]).group ()
@@ -116,6 +117,7 @@ def test_reply_with_existing_body(self):
116117 wizard .body = "Some body for testing purposes"
117118 self .assertTrue (wizard .partner_ids )
118119 self .assertEqual (message .email_from , wizard .partner_ids .email_formatted )
120+ self .assertEqual (action ["context" ]["default_subject" ], "Re: demo partner" )
119121 # the onchange in the composer isn't triggered in tests, so we check for the
120122 # correct quote in the context
121123 email_quote = re .search ("<p>.*?</p>" , wizard .env .context ["quote_body" ]).group ()
You can’t perform that action at this time.
0 commit comments