Python test.testsupport Functions

EditRocket provides the following information on test.testsupport functions in the Python source code builder.

findfile(filename) - Return the path to the file named filename.

forget(module_name) - Removes the module named module_name from sys.

is_resource_enabled(resource) - Returns True if resource is enabled and available.

requires(resource[, msg]) - Raises ResourceDenied if resource is not available.

run_suite(suite[, testclass]) - Execute the unittest.

run_unittest(*classes) - Execute unittest.