diff options
author | Olivier Tilloy <olivier@tilloy.net> | 2009-11-18 22:01:05 +0100 |
---|---|---|
committer | Olivier Tilloy <olivier@tilloy.net> | 2009-11-18 22:01:05 +0100 |
commit | d542c5f232e1be7550c0fff1186770ab22de35a9 (patch) | |
tree | 9e61da2470b01a346be08dbef07551af5246b4f8 /test | |
parent | 42efc4f6138d9dccdbdd2217d0267eadc32b9226 (diff) | |
download | pyexiv2-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.py | 2 |
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')) |