]> git.cworth.org Git - notmuch/blobdiff - test/test-lib-emacs.sh
test/emacs: match mml settings in emacs_{fcc,deliver}_message
[notmuch] / test / test-lib-emacs.sh
index dde32177aae035e27b215c5b6e721b984d36fd48..a298526d5fedc7a310ffc98d44bf753ae649efa6 100644 (file)
@@ -54,8 +54,9 @@ emacs_deliver_message () {
           (message-goto-body)
           (insert \"${body}\")
           $*
-          (notmuch-mua-send-and-exit))"
-
+          (let ((mml-secure-smime-sign-with-sender t)
+                (mml-secure-openpgp-sign-with-sender t))
+            (notmuch-mua-send-and-exit)))"
     # In case message was sent properly, client waits for confirmation
     # before exiting and resuming control here; therefore making sure
     # that server exits by sending (KILL) signal to it is safe.