summaryrefslogtreecommitdiff
path: root/test/test_tree.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2010-11-24 19:48:59 +0100
committerSebastian Thiel <byronimo@gmail.com>2010-11-24 19:48:59 +0100
commit3175b5b21194bcc8f4448abe0a03a98d3a4a1360 (patch)
treef1a098c4b38ae3b7cf52600e9fc9c357cdd7c353 /test/test_tree.py
parentfca367548e365f93c58c47dea45507025269f59a (diff)
parent3203cd7629345d32806f470a308975076b2b4686 (diff)
downloadgitpython-3175b5b21194bcc8f4448abe0a03a98d3a4a1360.tar.gz
Merge branch 'reflog'
Diffstat (limited to 'test/test_tree.py')
-rw-r--r--test/test_tree.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/test_tree.py b/test/test_tree.py
index 80db2e4b..ec10e962 100644
--- a/test/test_tree.py
+++ b/test/test_tree.py
@@ -23,6 +23,9 @@ class TestTree(TestBase):
continue
# END skip non-trees
tree = item
+ # trees have no dict
+ self.failUnlessRaises(AttributeError, setattr, tree, 'someattr', 1)
+
orig_data = tree.data_stream.read()
orig_cache = tree._cache