summaryrefslogtreecommitdiff
path: root/test/test_refs.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_refs.py')
-rw-r--r--test/test_refs.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test_refs.py b/test/test_refs.py
index 700e5fac..ebf1a00d 100644
--- a/test/test_refs.py
+++ b/test/test_refs.py
@@ -33,6 +33,8 @@ class TestRefs(TestBase):
if tag.tag is not None:
tag_object_refs.append( tag )
tagobj = tag.tag
+ # have no dict
+ self.failUnlessRaises(AttributeError, setattr, tagobj, 'someattr', 1)
assert isinstance( tagobj, TagObject )
assert tagobj.tag == tag.name
assert isinstance( tagobj.tagger, Actor )