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:
parent
c6f992b8e3
commit
39ccbacf9c
@ -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"))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user