api_tests

Tests in tests.api_tests:

Available tests

class tests.api_tests.TestApiFunctions(*args, **kwargs)[source]

API Request object test class.

testObjectCreation()[source]

Test api.Request() constructor with implicit site creation.

class tests.api_tests.TestDryApiFunctions(*args, **kwargs)[source]

API Request object test class.

testObjectCreation()[source]

Test api.Request() constructor.

class tests.api_tests.TestParamInfo(*args, **kwargs)[source]

Test ParamInfo.

test_modules()[source]

Test v1.8 modules exist.

test_prefixes()[source]

Test v1.8 module prefixes exist.

class tests.api_tests.TestDryPageGenerator(*args, **kwargs)[source]

Dry API PageGenerator object test class.

testGeneratorResults()[source]

Test that PageGenerator yields pages with expected attributes.

test_limits()[source]

Test that PageGenerator yields the requested amount of pages.

class tests.api_tests.TestPropertyGenerator(*args, **kwargs)[source]

API PropertyGenerator object test class.

class tests.api_tests.TestCachedRequest(*args, **kwargs)[source]

Test API Request caching.

This test class does not use the forced test caching.