emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 39ccbac: Cleanup secrets-tests


From: Michael Albinus
Subject: [Emacs-diffs] master 39ccbac: Cleanup secrets-tests
Date: Sun, 17 Jun 2018 05:19:28 -0400 (EDT)

branch: master
commit 39ccbacf9c42b2fed08c47ed7314e4c067de21b9
Author: Michael Albinus <address@hidden>
Commit: Michael Albinus <address@hidden>

    Cleanup secrets-tests
    
    * test/lisp/net/secrets-tests.el (secrets-test03-items)
    (secrets-test04-search): Cleanup "session" collection initially.
---
 test/lisp/net/secrets-tests.el | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/test/lisp/net/secrets-tests.el b/test/lisp/net/secrets-tests.el
index b501fa6..9aa79da 100644
--- a/test/lisp/net/secrets-tests.el
+++ b/test/lisp/net/secrets-tests.el
@@ -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"))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]