diff options
| author | Michael Albinus | 2018-12-12 10:49:59 +0100 |
|---|---|---|
| committer | Michael Albinus | 2018-12-12 10:49:59 +0100 |
| commit | 8c28ac8023cee235885ab0f44b73dbfef6f0a10d (patch) | |
| tree | c9bf5b7a0f60756defda78108b7fccfa34c2d1f6 | |
| parent | 1691a51094d35ac4b2c311fa407c6b77eea7a105 (diff) | |
| download | emacs-8c28ac8023cee235885ab0f44b73dbfef6f0a10d.tar.gz emacs-8c28ac8023cee235885ab0f44b73dbfef6f0a10d.zip | |
Fix Bug#33568
* test/lisp/net/secrets-tests.el (secrets-test02-collections)
(secrets-test03-items): Do not expect "login" collection to
exist. (Bug#33568)
| -rw-r--r-- | test/lisp/net/secrets-tests.el | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/test/lisp/net/secrets-tests.el b/test/lisp/net/secrets-tests.el index de3ce731bec..d34b0021952 100644 --- a/test/lisp/net/secrets-tests.el +++ b/test/lisp/net/secrets-tests.el | |||
| @@ -90,10 +90,6 @@ | |||
| 90 | (unwind-protect | 90 | (unwind-protect |
| 91 | (progn | 91 | (progn |
| 92 | (should (secrets-open-session)) | 92 | (should (secrets-open-session)) |
| 93 | |||
| 94 | ;; There must be at least the collections "Login" and "session". | ||
| 95 | (should (or (member "Login" (secrets-list-collections)) | ||
| 96 | (member "login" (secrets-list-collections)))) | ||
| 97 | (should (member "session" (secrets-list-collections))) | 93 | (should (member "session" (secrets-list-collections))) |
| 98 | 94 | ||
| 99 | ;; Create a random collection. This asks for a password | 95 | ;; Create a random collection. This asks for a password |
| @@ -160,9 +156,6 @@ | |||
| 160 | 156 | ||
| 161 | ;; There shall be no items in the "session" collection. | 157 | ;; There shall be no items in the "session" collection. |
| 162 | (should-not (secrets-list-items "session")) | 158 | (should-not (secrets-list-items "session")) |
| 163 | ;; There shall be items in the "Login" collection. | ||
| 164 | (should (or (secrets-list-items "Login") | ||
| 165 | (secrets-list-items "login"))) | ||
| 166 | 159 | ||
| 167 | ;; Create a new item. | 160 | ;; Create a new item. |
| 168 | (should (setq item-path (secrets-create-item "session" "foo" "secret"))) | 161 | (should (setq item-path (secrets-create-item "session" "foo" "secret"))) |