PyDocs

Nav

Development Tools

load_package_tests

test.support

function
  • load_package_tests(pkg_dir, loader, standard_tests, pattern)
Generic implementation of the unittest load_tests protocol for use in test packages. pkg_dir is the root directory of the package; loader, standard_tests, and pattern are the arguments expected by load_tests. In simple cases, the test package’s __init__.py can be the following:
0 Examples
No examples for test.support/load_package_tests.
See Also
No see-alsos for test.support/load_package_tests
0 Notes
No notes for load_package_tests