[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs