ooni.nettests third_party Package

ooni.nettests.third_party.netalyzr Module

class ooni.nettests.third_party.netalyzr.NetalyzrWrapperTest[source]

Bases: ooni.nettest.NetTestCase

blocking_call()[source]
clean_up()[source]
name = 'NetalyzrWrapper'
requiresRoot = False
requiresTor = False
setUp()[source]
test_run_netalyzr()[source]

This test simply wraps netalyzr and runs it from command line

ooni.nettests.third_party.openvpn Module

ooni.nettests.third_party.psiphon Module

class ooni.nettests.third_party.psiphon.PsiphonTest[source]

Bases: ooni.templates.httpt.HTTPTest, ooni.templates.process.ProcessTest

This class tests Psiphon python client

test_psiphon:
Starts a Psiphon, check if it bootstraps successfully (print a line in stdout). Then, perform an HTTP request using the proxy
author = 'juga'
description = 'Bootstraps Psiphon and does a HTTP GET for the specified URL'
handleRead(stdout, stderr)[source]
name = 'Psiphon Test'
setUp()[source]
test_psiphon()[source]
timeout = 20
usageOptions

alias of UsageOptions

version = '0.0.1'
class ooni.nettests.third_party.psiphon.UsageOptions[source]

Bases: twisted.python.usage.Options

optParameters = [['url', 'u', None, 'Specify a single URL to test.'], ['psiphonpath', 'p', None, 'Specify psiphon python client path.'], ['socksproxy', 's', None, 'Specify psiphon socks proxy ip:port.']]