Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #7996

Closed
Open
Created Jan 19, 2013 by Roger Dingledine@arma

scapy-based test example code has wrong example

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.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking