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
1 changed files with 6 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue