aboutsummaryrefslogtreecommitdiffstats
path: root/test/iptc.py
Commit message (Collapse)AuthorAgeFilesLines
* Unit test to check that accessing the .raw_values and .values properties ↵Olivier Tilloy2010-11-211-0/+30
| | | | issue deprecation warnings.
* Rename the .raw_values and .values properties of IPTC tags to .raw_value and ↵Olivier Tilloy2010-11-211-3/+3
| | | | | .value, for consistency with the API of EXIF and XMP tags.
* Add a unit test to check that an exception is raised when trying to set ↵Olivier Tilloy2010-11-171-0/+5
| | | | multiple values to a non-repeatable IPTC tag.
* Throw an exception instead of silently failing when unable to parse the raw ↵Olivier Tilloy2010-11-171-0/+5
| | | | | | value for EXIF and IPTC tags. Note that parsing never fails for XMP tags. Added corresponding unit tests.
* Attach the image's IptcData to a tag when it is assigned to an image.Olivier Tilloy2010-05-191-17/+1
| | | | Remove redundant code that would set the values of a tag twice (in the tag itself, and in the image). Remove the now useless metadata attribute.
* Updated copyright headers for 2010.Olivier Tilloy2010-01-051-1/+1
|\
| * Updated copyright headers for 2010.Olivier Tilloy2010-01-051-1/+1
| | | | | | Happy new year!
* | Fixed IPTC unit tests:Olivier Tilloy2010-01-041-2/+2
|/ | | | it seems that the "Iptc.Envelope.CharacterSet" tag is not "Undefined" after all (the IPTC datasets reference confirms).
* Fixed IPTC unit tests.Olivier Tilloy2009-12-151-71/+23
|
* IptcTag doesn't inherit from libexiv2python._IptcTag anymore, it keeps a ↵Olivier Tilloy2009-11-181-1/+1
| | | | reference to it as a protected attribute.
* Pass IPTC Dates to exiv2 in the correct format (%Y-%m-%d).Olivier Tilloy2009-10-281-4/+4
|
* Do not allow setting the values of an IPTC tag to something else than a list ↵Olivier Tilloy2009-10-261-0/+6
| | | | or a tuple.
* Updated unit tests' imports.Olivier Tilloy2009-10-201-1/+4
|
* Do not do any charset conversions for IPTC tags.Olivier Tilloy2009-10-081-4/+1
|
* Make IptcTag._convert_to_string an instance method.Olivier Tilloy2009-10-081-33/+48
|
* Make IptcTag._convert_to_python an instance method.Olivier Tilloy2009-10-071-0/+235