aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorOlivier Tilloy <olivier@tilloy.net>2009-11-18 22:01:05 +0100
committerOlivier Tilloy <olivier@tilloy.net>2009-11-18 22:01:05 +0100
commitd542c5f232e1be7550c0fff1186770ab22de35a9 (patch)
tree9e61da2470b01a346be08dbef07551af5246b4f8 /test
parent42efc4f6138d9dccdbdd2217d0267eadc32b9226 (diff)
downloadpyexiv2-d542c5f232e1be7550c0fff1186770ab22de35a9.tar.gz
IptcTag doesn't inherit from libexiv2python._IptcTag anymore, it keeps a reference to it as a protected attribute.
Diffstat (limited to 'test')
-rw-r--r--test/iptc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/iptc.py b/test/iptc.py
index 06d01dd..3eefce0 100644
--- a/test/iptc.py
+++ b/test/iptc.py
@@ -249,7 +249,7 @@ class TestIptcTag(unittest.TestCase):
'city of object data origin according to guidelines ' \
'established by the provider.', 'String', ['Seattle'])
tag.metadata = ImageMetadataMock()
- tag.metadata._set_iptc_tag_values(tag.key, tag.to_string())
+ tag.metadata._set_iptc_tag_values(tag.key, tag.to_string_list())
self.assertEqual(tag.metadata.tags, {tag.key: ['Seattle']})
del tag.values
self.failIf(hasattr(tag, 'values'))