diff --git a/NEWS b/NEWS index ee840f1ce..cedb5af62 100644 --- a/NEWS +++ b/NEWS @@ -7,6 +7,9 @@ * Add a basic ``porcelain.clean``. (Lane Barlow, #398) + * Fix output format of ``porcelain.diff`` to match that of + C Git. (Boris Feld) + 0.19.11 2019-02-07 IMPROVEMENTS diff --git a/dulwich/tests/compat/__init__.py b/dulwich/tests/compat/__init__.py index 5d8eff96a..59d2a5c1c 100644 --- a/dulwich/tests/compat/__init__.py +++ b/dulwich/tests/compat/__init__.py @@ -27,6 +27,7 @@ def test_suite(): names = [ 'client', 'pack', + 'patch', 'repository', 'server', 'utils', diff --git a/dulwich/tests/compat/test_patch.py b/dulwich/tests/compat/test_patch.py index 82c08fa5e..085013e0a 100644 --- a/dulwich/tests/compat/test_patch.py +++ b/dulwich/tests/compat/test_patch.py @@ -28,15 +28,13 @@ from dulwich.repo import ( Repo, ) -from dulwich.tests import ( - TestCase, - ) from dulwich.tests.compat.utils import ( + CompatTestCase, run_git_or_fail, ) -class CompatPatchTestCase(TestCase): +class CompatPatchTestCase(CompatTestCase): def setUp(self): super(CompatPatchTestCase, self).setUp()