summaryrefslogtreecommitdiff
path: root/test/test_diff.py
diff options
context:
space:
mode:
authoryobmod <yobmod@gmail.com>2021-05-03 15:59:07 +0100
committeryobmod <yobmod@gmail.com>2021-05-03 15:59:07 +0100
commit6752fad0e93d1d2747f56be30a52fea212bd15d6 (patch)
treea0618d53d06f35d7326fcacdcaf1832d7ab55b8c /test/test_diff.py
parent2fd9f6ee5c8b4ae4e01a40dc398e2768d838210d (diff)
downloadgitpython-6752fad0e93d1d2747f56be30a52fea212bd15d6.tar.gz
add initial types to remote.py
Diffstat (limited to 'test/test_diff.py')
-rw-r--r--test/test_diff.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/test_diff.py b/test/test_diff.py
index c6c9b67a..9b20893a 100644
--- a/test/test_diff.py
+++ b/test/test_diff.py
@@ -7,6 +7,7 @@
import ddt
import shutil
import tempfile
+import unittest
from git import (
Repo,
GitCommandError,
@@ -220,6 +221,12 @@ class TestDiff(TestBase):
self.assertIsNotNone(res[0].deleted_file)
self.assertIsNone(res[0].b_path,)
+ @unittest.skip("This currently fails and would need someone to improve diff parsing")
+ def test_diff_file_with_colon(self):
+ output = fixture('diff_file_with_colon')
+ res = []
+ Diff._handle_diff_line(output, None, res)
+
def test_diff_initial_commit(self):
initial_commit = self.rorepo.commit('33ebe7acec14b25c5f84f35a664803fcab2f7781')