1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-02-02 20:16:25 +00:00

Cleanup secrets-tests

* test/lisp/net/secrets-tests.el (secrets-test03-items)
(secrets-test04-search): Cleanup "session" collection initially.
This commit is contained in:
Michael Albinus 2018-06-17 11:19:16 +02:00
parent c6f992b8e3
commit 39ccbacf9c

View File

@ -154,6 +154,9 @@
(let (item-path)
(should (secrets-open-session))
;; Cleanup. There could be items in the "session" collection.
(secrets--test-delete-all-session-items)
;; There shall be no items in the "session" collection.
(should-not (secrets-list-items "session"))
;; There shall be items in the "Login" collection.
@ -215,6 +218,9 @@
(progn
(should (secrets-open-session))
;; Cleanup. There could be items in the "session" collection.
(secrets--test-delete-all-session-items)
;; There shall be no items in the "session" collection.
(should-not (secrets-list-items "session"))