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

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Dec 6 08:49:47 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):

 Here's another test case:

  - 3.18 If a query results in X relays and Y bridges, set offset to X-1,
 X, X+1, X+Y-1, X+Y, X+Y+1 and check that result contains the expected
 number of relays and bridges.  These are really six test cases, not one.

 Note that I made a few minor fixes to Onionoo and clarified a few cases in
 the specification.  See my recent onionoo.git commits for details.  When
 implementing the described test cases, don't rely too much on my initial
 guess what the result should be, but look at the protocol specification.

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


More information about the tor-bugs mailing list