aboutsummaryrefslogtreecommitdiffstats
path: root/test/xmp.py
Commit message (Collapse)AuthorAgeFilesLines
* Implement a poor man’s test skipping solution to substitute ↵Olivier Tilloy2011-10-241-1/+6
| | | | @unittest.skipIf, which is only available starting with Python 2.7.
* Use getattr, setattr and delattr where possible, instead of calling the ↵Olivier Tilloy2011-08-201-6/+6
| | | | underlying (and supposedly hidden) methods.
* Be flexible and allow setting the value of a LangAlt tag to a string,Olivier Tilloy2011-08-171-1/+7
| | | in which case it is automatically converted to {'x-default': value}.
* Add some sanity checks.Olivier Tilloy2011-08-171-0/+2
|
* Check the type before setting a tag’s value and raise a TypeError if it ↵Olivier Tilloy2011-08-171-1/+11
| | | | doesn’t match.
* Added some (failing) unit tests for date conversion for dates prior to year ↵Olivier Tilloy2011-08-041-0/+20
| | | | 1900.
* Fix timezone formatting when writing XMP tags.Olivier Tilloy2011-08-021-0/+21
| | | This introduces an optional dependency on python-tz in unit tests.
* Handle fractions in a transparent manner,Olivier Tilloy2010-12-261-8/+5
| | | using the convenience functions defined in module pyexiv2.utils.
* EMPTY_JPG_DATA was moved to the testutils module.Olivier Tilloy2010-12-171-2/+1
|
* Merged latest changes from trunk.Olivier Tilloy2010-12-171-1/+26
|\
| * Unit tests for Rational conversions in XMP tags.Olivier Tilloy2010-11-301-1/+26
| |
* | Unit tests for the custom XMP namespaces.Olivier Tilloy2010-11-291-1/+102
|/
* Attach the image's XmpData to a tag when it is assigned to an image.Olivier Tilloy2010-05-201-17/+1
| | | | Remove redundant code that would set the value of a tag twice (in the tag itself, and in the image). Remove the now useless metadata attribute.
* Prevent emptying XMP sequences and other multiple-value types.Olivier Tilloy2010-01-211-0/+8
|
* Updated copyright headers for 2010.Olivier Tilloy2010-01-051-1/+1
| | | Happy new year!
* Fixed XMP unit tests.Olivier Tilloy2009-12-151-201/+139
|
* Updated unit tests' imports.Olivier Tilloy2009-10-201-0/+370