dulwich.tests package¶
Tests for Dulwich.
-
class
dulwich.tests.
BlackboxTestCase
(methodName='runTest')¶ Bases:
dulwich.tests.TestCase
Blackbox testing.
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
-
bin_directories
= ['/tmp/tmp.zVQtNFUywl/bin', '/usr/bin', '/usr/local/bin']¶
-
bin_path
(name)¶ Determine the full path of a binary.
Parameters: name – Name of the script Returns: Full path
-
run_command
(name, args)¶ Run a Dulwich command.
Parameters: - name – Name of the command, as it exists in bin/
- args – Arguments to the command
-
-
class
dulwich.tests.
TestCase
(methodName='runTest')¶ Bases:
unittest.case.TestCase
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
-
setUp
()¶ Hook method for setting up the test fixture before exercising it.
-
tearDown
()¶ Hook method for deconstructing the test fixture after testing it.
-
-
dulwich.tests.
compat_test_suite
()¶
-
dulwich.tests.
nocompat_test_suite
()¶
-
dulwich.tests.
self_test_suite
()¶
-
dulwich.tests.
test_suite
()¶
-
dulwich.tests.
tutorial_test_suite
()¶
Subpackages¶
- dulwich.tests.compat package
- Submodules
- dulwich.tests.compat.server_utils module
- dulwich.tests.compat.test_client module
- dulwich.tests.compat.test_pack module
- dulwich.tests.compat.test_patch module
- dulwich.tests.compat.test_repository module
- dulwich.tests.compat.test_server module
- dulwich.tests.compat.test_utils module
- dulwich.tests.compat.test_web module
- dulwich.tests.compat.utils module
- Submodules
Submodules¶
- dulwich.tests.test_archive module
- dulwich.tests.test_blackbox module
- dulwich.tests.test_client module
- dulwich.tests.test_config module
- dulwich.tests.test_diff_tree module
- dulwich.tests.test_fastexport module
- dulwich.tests.test_file module
- dulwich.tests.test_grafts module
- dulwich.tests.test_greenthreads module
- dulwich.tests.test_hooks module
- dulwich.tests.test_ignore module
- dulwich.tests.test_index module
- dulwich.tests.test_line_ending module
- dulwich.tests.test_lru_cache module
- dulwich.tests.test_mailmap module
- dulwich.tests.test_missing_obj_finder module
- dulwich.tests.test_object_store module
- dulwich.tests.test_objects module
- dulwich.tests.test_objectspec module
- dulwich.tests.test_pack module
- dulwich.tests.test_patch module
- dulwich.tests.test_porcelain module
- dulwich.tests.test_protocol module
- dulwich.tests.test_reflog module
- dulwich.tests.test_refs module
- dulwich.tests.test_repository module
- dulwich.tests.test_server module
- dulwich.tests.test_stash module
- dulwich.tests.test_utils module
- dulwich.tests.test_walk module
- dulwich.tests.test_web module
- dulwich.tests.utils module