diff --git a/test/lisp/net/secrets-tests.el b/test/lisp/net/secrets-tests.el index 352a7c362dd..d0c0d6fe240 100644 --- a/test/lisp/net/secrets-tests.el +++ b/test/lisp/net/secrets-tests.el @@ -20,7 +20,7 @@ ;;; Code: (require 'ert) -(require 'secrets) +(when (featurep 'dbusbind) (require 'secrets)) (require 'notifications) ;; We do not want chatty messages.