[tor-bugs] #6950 [pyonionoo]: write tests for pyonionoo

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Dec 12 13:39:42 UTC 2012


#6950: write tests for pyonionoo
-----------------------+----------------------------------------------------
 Reporter:  gsathya    |          Owner:  gsathya 
     Type:  task       |         Status:  accepted
 Priority:  major      |      Milestone:          
Component:  pyonionoo  |        Version:          
 Keywords:             |         Parent:          
   Points:             |   Actualpoints:          
-----------------------+----------------------------------------------------

Comment(by karsten):

 Replying to [comment:17 gsathya]:
 > Can I get access to the latest output from onionoo? I'm still using the
 old one I got from you during the dev meeting.

 Sure.  [http://people.torproject.org/~karsten/volatile/onionoo-
 out-2012-12-12.tar.bz2 Here]'s a tarball of the current out/ directory.

 > Summary documents don't contain hashed fingerprints do they? (In
 reference to 1.1)

 Summary documents contain original relay fingerprints `F` and hashed
 bridge fingerprints `H(F)`.  They do not, however, contain hashed relay
 fingerprints `H(F)` and hashed hashed bridge fingerprints `H(H(F))`, both
 of which are supported in the search and lookup parameters.

 > Here's the initial test -
 https://github.com/gsathya/pyonionoo/compare/tests2
 > I'm wondering if I should abstract out some of that code. I'm not sure
 how or which parts though. Maybe this'll become more obvious once I start
 adding more tests.

 I'll wait until you have some more tests before reviewing, if that's okay
 for you.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/6950#comment:18>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list