dulwich.tests.test_fastexport module

class dulwich.tests.test_fastexport.GitFastExporterTests(methodName='runTest')

Bases: TestCase

Tests for the GitFastExporter tests.

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.

test_emit_blob()
test_emit_commit()
class dulwich.tests.test_fastexport.GitImportProcessorTests(methodName='runTest')

Bases: TestCase

Tests for the GitImportProcessor tests.

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.

make_file_commit(file_cmds)

Create a trivial commit with the specified file commands.

Parameters

file_cmds – File commands to run.

Returns: The created commit object

setUp()

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

simple_commit()
test_commit_handler()
test_commit_handler_markers()
test_file_add()
test_file_copy()
test_file_delete()
test_file_deleteall()
test_file_move()
test_import_stream()
test_reset_handler()
test_reset_handler_default()
test_reset_handler_marker()