ooni.nettests third_party Package¶
ooni.nettests.third_party.netalyzr
Module¶
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
-
description
= 'Bootstraps Psiphon and does a HTTP GET for the specified URL'¶
-
name
= 'Psiphon Test'¶
-
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.']]¶
-