[Pkg-privacy-commits] [Git][pkg-privacy-team/onioncircuits][master] check for empty circuits

Sascha Steinbiss satta at debian.org
Tue Jul 9 11:46:49 BST 2019



Sascha Steinbiss pushed to branch master at Privacy Maintainers / onioncircuits


Commits:
308b4917 by Sascha Steinbiss at 2019-07-09T09:26:31Z
check for empty circuits

- - - - -


2 changed files:

- debian/changelog
- debian/tests/check-circuits


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+onioncircuits (0.6-1) unstable; urgency=medium
+
+  * Make autopkgtest more robust by adding additional checks for
+    situations where there are no circuits built.
+    Addresses #930448.
+
+ -- Sascha Steinbiss <satta at debian.org>  Tue, 09 Jul 2019 11:09:59 +0200
+
 onioncircuits (0.6-0.0tails1) feature-16350-onioncircuits-opening-feedback; urgency=medium
 
   * Non-maintainer upload.


=====================================
debian/tests/check-circuits
=====================================
@@ -51,7 +51,8 @@ class TestOnionCircuitsGUI(unittest.TestCase):
                 for _, entry in enumerate(circ.path):
                     _, nickname = entry
                     nicks.append(nickname)
-                circs.add(", ".join(nicks))
+                if len(nicks) > 0:
+                    circs.add(", ".join(nicks))
         return circs
 
     def _get_gui_circuits(self):



View it on GitLab: https://salsa.debian.org/pkg-privacy-team/onioncircuits/commit/308b4917a62963d51b8bc617b9780c48eb05ea9d

-- 
View it on GitLab: https://salsa.debian.org/pkg-privacy-team/onioncircuits/commit/308b4917a62963d51b8bc617b9780c48eb05ea9d
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-privacy-commits/attachments/20190709/e9c7645a/attachment-0001.html>


More information about the Pkg-privacy-commits mailing list