summaryrefslogtreecommitdiff
path: root/test/git/test_diff.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2009-10-12 14:56:47 +0200
committerSebastian Thiel <byronimo@gmail.com>2009-10-12 14:56:47 +0200
commit637eadce54ca8bbe536bcf7c570c025e28e47129 (patch)
treec8691e6358e2b626b42c19bb6bb893e83464b40c /test/git/test_diff.py
parentf2834177c0fdf6b1af659e460fd3348f468b8ab0 (diff)
downloadgitpython-637eadce54ca8bbe536bcf7c570c025e28e47129.tar.gz
renamed from_string and list_from_string to _from_string and _list_from_string to indicate their new status as private method, adjusted all callers respectively
Diffstat (limited to 'test/git/test_diff.py')
-rw-r--r--test/git/test_diff.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/git/test_diff.py b/test/git/test_diff.py
index b9834879..b2339455 100644
--- a/test/git/test_diff.py
+++ b/test/git/test_diff.py
@@ -13,13 +13,13 @@ class TestDiff(object):
def test_list_from_string_new_mode(self):
output = fixture('diff_new_mode')
- diffs = Diff.list_from_string(self.repo, output)
+ diffs = Diff._list_from_string(self.repo, output)
assert_equal(1, len(diffs))
assert_equal(10, len(diffs[0].diff.splitlines()))
def test_diff_with_rename(self):
output = fixture('diff_rename')
- diffs = Diff.list_from_string(self.repo, output)
+ diffs = Diff._list_from_string(self.repo, output)
assert_equal(1, len(diffs))