testing.unit.test_backend module

class testing.unit.test_backend.BackendWrapperTest(methodName='runTest')[source]

Bases: UnitTestCase

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_cleans_up(exit_mock, time_mock)[source]
test_close()[source]
test_default_error_exit(exit_mock)[source]
test_move()[source]
test_move_fallback_false()[source]
test_move_fallback_undefined()[source]
test_prefer_lists()[source]
test_retries(exit_mock, time_mock)[source]
test_translates_code(exit_mock)[source]
test_uses_exception_code(exit_mock)[source]
class testing.unit.test_backend.ParsedUrlTest(methodName='runTest')[source]

Bases: UnitTestCase

Test the ParsedUrl class

test_basic()[source]

Test various url strings

test_errors()[source]

Test various url errors