http_tests

Tests in tests.http_tests:

Available tests

class tests.http_tests.DefaultUserAgentTestCase(*args, **kwargs)[source]

User agent formatting tests using the default config format string.

test_default_user_agent()[source]

Config defined format string test.

class tests.http_tests.HttpTestCase(*args, **kwargs)[source]

Tests for http module.

test_http()[source]

Test http request function.

test_https()[source]

Test http request function using https.

test_https_cert_error()[source]

Test http request function fails on ssl bad certificate.

test_https_cert_invalid()[source]

Verify certificate is bad.

test_https_ignore_cert_error()[source]

Test http request function ignoring ssl bad certificate.

class tests.http_tests.ThreadedHttpTestCase(*args, **kwargs)[source]

Tests for threadedhttp module.

class tests.http_tests.UserAgentTestCase(*args, **kwargs)[source]

User agent formatting tests using a format string.