aboutsummaryrefslogtreecommitdiffstats
path: root/unittest/metadata.py
diff options
context:
space:
mode:
authorOlivier Tilloy <olivier@tilloy.net>2009-04-21 09:23:46 +0200
committerOlivier Tilloy <olivier@tilloy.net>2009-04-21 09:23:46 +0200
commit279b974080eafb42af1f8da3920e2c4d04e63a0f (patch)
tree93588f4ab285712b8bae63e2f8c68d93088a4446 /unittest/metadata.py
parent8ee4a60dcfd299331ba30992fc324aeeeba694ab (diff)
downloadpyexiv2-279b974080eafb42af1f8da3920e2c4d04e63a0f.tar.gz
Unlike IPTC tags, XMP tags are not repeatable.
Diffstat (limited to 'unittest/metadata.py')
-rw-r--r--unittest/metadata.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/unittest/metadata.py b/unittest/metadata.py
index ade5599..fa56de2 100644
--- a/unittest/metadata.py
+++ b/unittest/metadata.py
@@ -119,21 +119,21 @@ class TestImageMetadata(unittest.TestCase):
('Xmp.dc.format', 'format', 'Format', 'The file format used when ' \
'saving the resource. Tools and applications should set this ' \
'property to the save format of the data. It may include ' \
- 'appropriate qualifiers.', 'MIMEType', ['image/jpeg'])
+ 'appropriate qualifiers.', 'MIMEType', 'image/jpeg')
tags['Xmp.dc.subject'] = \
('Xmp.dc.subject', 'subject', 'Subject', 'An unordered array of ' \
'descriptive phrases or keywords that specify the topic of the ' \
- 'content of the resource.', 'bag Text', ['image, test, pyexiv2'])
+ 'content of the resource.', 'bag Text', 'image, test, pyexiv2')
tags['Xmp.xmp.CreateDate'] = \
('Xmp.xmp.CreateDate', 'CreateDate', 'Create Date',
'The date and time the resource was originally created.', 'Date',
- ['2005-09-07T15:07:40-07:00'])
+ '2005-09-07T15:07:40-07:00')
tags['Xmp.xmpMM.DocumentID'] = \
('Xmp.xmpMM.DocumentID', 'DocumentID', 'Document ID',
'The common identifier for all versions and renditions of a ' \
'document. It should be based on a UUID; see Document and ' \
'Instance IDs below.', 'URI',
- ['uuid:9A3B7F52214211DAB6308A7391270C13'])
+ 'uuid:9A3B7F52214211DAB6308A7391270C13')
self.metadata._image.tags['xmp'] = tags
######################