commit 7c0002d40db176d02c6a57e400ec53b5fb7a63a4 Author: Damian Johnson atagar@torproject.org Date: Mon Sep 23 00:28:01 2013 -0700
Proc unit tests didn't reflect protocol addition
Oops, our unit tests didn't account for proc now providing the protocol. Caught by our jenkins tests. --- test/unit/util/proc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/unit/util/proc.py b/test/unit/util/proc.py index 4ee598b..caf9d7a 100644 --- a/test/unit/util/proc.py +++ b/test/unit/util/proc.py @@ -172,8 +172,8 @@ class TestProc(unittest.TestCase): self.assertEquals([], proc.get_connections(0))
expected_results = [ - ('17.17.17.17', 4369, '34.34.34.34', 8738), - ('187.187.187.187', 48059, '204.204.204.204', 52428), + ('17.17.17.17', 4369, '34.34.34.34', 8738, 'tcp'), + ('187.187.187.187', 48059, '204.204.204.204', 52428, 'udp'), ]
self.assertEquals(expected_results, proc.get_connections(pid))
tor-commits@lists.torproject.org