[tor-bugs] #7996 [Ooni]: scapy-based test example code has wrong example

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat Jan 19 11:00:47 UTC 2013


#7996: scapy-based test example code has wrong example
--------------------+-------------------------------------------------------
 Reporter:  arma    |          Owner:  hellais
     Type:  defect  |         Status:  new    
 Priority:  normal  |      Milestone:         
Component:  Ooni    |        Version:         
 Keywords:          |         Parent:         
   Points:          |   Actualpoints:         
--------------------+-------------------------------------------------------
 On (I think it was) https://ooni.torproject.org/docs/writing_tests.html
 there is some sample code using twisted.defer.inlineCallbacks() which
 calls
 {{{
 optParameters = [['target', 't', self.localOptions['target'], "Specify the
 target to ping"]]
 }}}

 Arturo thought part of this line was wrong -- self.localOptions should
 either be 127.0.0.1 or None.

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


More information about the tor-bugs mailing list