diff options
author | Olivier Tilloy <olivier@tilloy.net> | 2010-11-21 19:20:48 +0100 |
---|---|---|
committer | Olivier Tilloy <olivier@tilloy.net> | 2010-11-21 19:20:48 +0100 |
commit | b446f84822b52451a6af48aa6ea1d58a07e0f1bf (patch) | |
tree | 2df98bdb803044ee51d7e0719e45d893444c844c /test/iptc.py | |
parent | 36abcd8a1bbd0ffb0dbd948af8cb70d08ef379f2 (diff) | |
download | pyexiv2-b446f84822b52451a6af48aa6ea1d58a07e0f1bf.tar.gz |
Rename the .raw_values and .values properties of IPTC tags to .raw_value and .value,
for consistency with the API of EXIF and XMP tags.
Diffstat (limited to 'test/iptc.py')
-rw-r--r-- | test/iptc.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/iptc.py b/test/iptc.py index 6da1580..79bc609 100644 --- a/test/iptc.py +++ b/test/iptc.py @@ -186,9 +186,9 @@ class TestIptcTag(unittest.TestCase): def test_set_values(self): tag = IptcTag('Iptc.Application2.City', ['Seattle']) - old_values = tag.values - tag.values = ['Barcelona'] - self.failIfEqual(tag.values, old_values) + old_values = tag.value + tag.value = ['Barcelona'] + self.failIfEqual(tag.value, old_values) def test_set_raw_values_invalid(self): tag = IptcTag('Iptc.Envelope.DateSent') |