From 77cd6659b64cb1950a82e6a3cccdda94f15ae739 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Tue, 29 Jun 2010 20:00:46 +0200 Subject: Renamed modules utils to util, and errors to exc to be more conforming to the submodules's naming conventions --- test/git/test_base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/git/test_base.py') diff --git a/test/git/test_base.py b/test/git/test_base.py index 1b01cda3..938647d0 100644 --- a/test/git/test_base.py +++ b/test/git/test_base.py @@ -11,7 +11,7 @@ import os from test.testlib import * from git import * from itertools import chain -from git.objects.utils import get_object_type_by_name +from git.objects.util import get_object_type_by_name from gitdb.util import hex_to_bin import tempfile -- cgit v1.2.1 From 18be0972304dc7f1a2a509595de7da689bddbefa Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Tue, 29 Jun 2010 20:16:37 +0200 Subject: Removed blob.data property as there is no real reason for an exception to the rule of trying not to cache possibly heavy data. The data_stream method should be used instead --- test/git/test_base.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'test/git/test_base.py') diff --git a/test/git/test_base.py b/test/git/test_base.py index 938647d0..db13feae 100644 --- a/test/git/test_base.py +++ b/test/git/test_base.py @@ -42,8 +42,6 @@ class TestBase(TestBase): assert item.hexsha == hexsha assert item.type == typename assert item.size - if isinstance(item, Blob): - assert item.data assert item == item assert not item != item assert str(item) == item.hexsha -- cgit v1.2.1