]> git.notmuchmail.org Git - notmuch/blobdiff - test/test-lib.el
test: replace single giant term with large phrase
[notmuch] / test / test-lib.el
index 04c8d63450533dbf566ff25cb6f2276b2032ee5b..02e020c10d3aef0db283308bc6ea283914491874 100644 (file)
@@ -184,7 +184,21 @@ nothing."
 (setq notmuch-tag-deleted-formats
       '((".*" nil)))
 
+;; For historical reasonse we don't print part headers when replying
+;; in the tests suite
+(setq notmuch-mua-reply-insert-header-p-function 'notmuch-show-reply-insert-header-p-never)
+
 ;; force a common html renderer, to avoid test variations between
 ;; environments
 
 (setq mm-text-html-renderer 'html2text)
+
+;; Set some variables for S/MIME tests.
+
+(setq smime-keys '(("" "test_suite.pem" nil)))
+
+(setq mml-smime-use 'openssl)
+
+;; all test keys are without passphrase
+(eval-after-load 'smime
+  '(defun smime-ask-passphrase (cache)  nil))