dulwich.tests.test_file module

class dulwich.tests.test_file.FancyRenameTests(methodName='runTest')

Bases: 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.

create(path, contents)
path(filename)
setUp()

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

tearDown()

Hook method for deconstructing the test fixture after testing it.

test_dest_exists()
test_dest_opened()
test_no_dest_exists()
class dulwich.tests.test_file.GitFileTests(methodName='runTest')

Bases: 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.

path(filename)
setUp()

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

tearDown()

Hook method for deconstructing the test fixture after testing it.

test_abort()
test_abort_close()
test_abort_close_removed()
test_default_mode()
test_invalid()
test_open_twice()
test_readonly()
test_write()