dulwich.tests.test_ignore module

Tests for ignore files.

class dulwich.tests.test_ignore.IgnoreFilterManagerTests(methodName='runTest')

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

test_ignored_contents()
test_load_ignore()
test_load_ignore_ignorecase()
class dulwich.tests.test_ignore.IgnoreFilterStackTests(methodName='runTest')

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

test_stack_first()
class dulwich.tests.test_ignore.IgnoreFilterTests(methodName='runTest')

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

test_excluded()
test_include_exclude_include()
test_included()
test_included_ignorecase()
test_manpage()
class dulwich.tests.test_ignore.MatchPatternTests(methodName='runTest')

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

test_matches()
test_no_matches()
class dulwich.tests.test_ignore.ReadIgnorePatterns(methodName='runTest')

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

test_read_file()
class dulwich.tests.test_ignore.TranslateTests(methodName='runTest')

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

test_translate()