dulwich-users team mailing list archive
-
dulwich-users team
-
Mailing list archive
-
Message #00333
[PATCH 08/24] test_diff_tree: Extract a base TestCase class.
From: Dave Borowitz <dborowitz@xxxxxxxxxx>
Change-Id: I9310bfb38aeb930e011f82dc34bb2107d0f23086
---
dulwich/tests/test_diff_tree.py | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/dulwich/tests/test_diff_tree.py b/dulwich/tests/test_diff_tree.py
index 8a7e869..d4332b5 100644
--- a/dulwich/tests/test_diff_tree.py
+++ b/dulwich/tests/test_diff_tree.py
@@ -45,7 +45,7 @@ from dulwich.tests.utils import (
)
-class TreeChangesTest(TestCase):
+class DiffTestCase(TestCase):
def setUp(self):
self.store = MemoryObjectStore()
@@ -58,6 +58,9 @@ class TreeChangesTest(TestCase):
commit_blobs.append((path, blob.id, mode))
return self.store[commit_tree(self.store, commit_blobs)]
+
+class TreeChangesTest(DiffTestCase):
+
def test_merge_entries(self):
blob_a1 = make_object(Blob, data='a1')
blob_a2 = make_object(Blob, data='a2')
--
1.7.3.2.168.gd6b63
References