aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Fix undefined_to_string to accept empty strings.Olivier Tilloy2012-03-151-2/+2
|
* Replace the deprecated 'raw_values' and 'values' attributes by 'raw_value' ↵Olivier Tilloy2011-10-241-10/+10
| | | | and 'value', respectively, in the IPTC unit tests.
* Implement a poor man’s test skipping solution to substitute ↵Olivier Tilloy2011-10-242-2/+12
| | | | @unittest.skipIf, which is only available starting with Python 2.7.
* Fix a unit test so that the test suite can be run from anywhere.Olivier Tilloy2011-08-221-4/+5
|\
| * Fix the new unit test so that the test suite can be run from anywhere.Olivier Tilloy2011-08-221-4/+5
| |
* | Correctly extract the type of an EXIF tag when read from an image.Olivier Tilloy2011-08-224-0/+37
|\|
| * Add some sanity checks on the types of the UserComment tags.Olivier Tilloy2011-08-201-0/+8
| | | | | | Those tests currently fail, probably because the sample data is malformed.
| * Check the integrity of the image before performing the actual test.Olivier Tilloy2011-08-201-0/+5
| |
| * Added a unit test to verify that the type of an EXIF makernote tag is ↵Olivier Tilloy2011-08-203-1/+25
| | | | | | | | | | correctly set when extracted from an image. Currently failing (see https://bugs.launchpad.net/pyexiv2/+bug/781464).
* | Use getattr, setattr and delattr where possible, instead of calling the ↵Olivier Tilloy2011-08-204-28/+28
|/ | | | underlying (and supposedly hidden) methods.
* Updated header.Olivier Tilloy2011-08-201-5/+2
|
* 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.
* Add a unit test to check that using the dictionary interface with an ↵Olivier Tilloy2011-08-171-1/+8
| | | | incorrect tag family raises a KeyError as expected.
* Custom DateTimeFormatter helper to convert date/time objects to strings ↵Olivier Tilloy2011-08-122-1/+193
| | | | conforming to the EXIF/IPTC/XMP formats.
* Fixed a unit test.Olivier Tilloy2011-08-041-1/+1
|
* Added some (failing) unit tests for date conversion for dates prior to year ↵Olivier Tilloy2011-08-043-0/+42
| | | | 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.
* Fix timezone formatting when writing IPTC tags.Olivier Tilloy2011-08-021-0/+15
| | | This introduces an optional dependency on python-tz in unit tests.
* Do not try (and fail!) to encode non-unicode filenames.Olivier Tilloy2011-08-011-4/+10
| | | More complete unit tests.
* Added unit tests for Rational.__repr__().Olivier Tilloy2011-07-231-0/+5
|
* Do not fail to parse rationals stored as '0/0'.Olivier Tilloy2011-05-242-0/+14
| | | In the crazy world of EXIF metadata, this means a null fraction, i.e. 0/1.
* New convenience function to factorize further the code that handles ↵Olivier Tilloy2010-12-261-1/+9
| | | | fractions: fraction_to_string(...).
* Handle fractions in a transparent manner,Olivier Tilloy2010-12-265-62/+45
| | | using the convenience functions defined in module pyexiv2.utils.
* is_fraction and make_fraction: convenience functions to handle transparentlyOlivier Tilloy2010-12-242-2/+43
| | | the conditional availability of the fractions module in the standard library (Python ≥ 2.6).
* Support pickling XMP tags.Olivier Tilloy2010-12-221-0/+25
|
* Support pickling IPTC tags.Olivier Tilloy2010-12-221-1/+26
|
* Merged the latest changes from the trunk.Olivier Tilloy2010-12-221-10/+10
|\
| * Fix the IPTC Time type to string conversion,Olivier Tilloy2010-12-221-10/+10
| | | | | | | | the string expected by exiv2's TimeValue::read(string) does not respect the IPTC specification ('%H:%M:%S±%H:%M' instead of '%H%M%S±%H%M).
* | Support pickling EXIF tags.Olivier Tilloy2010-12-222-0/+69
|/
* Unit tests for the IPTC charset.Olivier Tilloy2010-12-201-0/+65
|
* EMPTY_JPG_DATA was moved to the testutils module.Olivier Tilloy2010-12-171-2/+1
|
* Merged latest changes from trunk.Olivier Tilloy2010-12-1712-34/+253
|\
| * Moved EMPTY_JPG_DATA to the testutils module.Olivier Tilloy2010-12-173-20/+21
| |
| * Starting from 0.20, exiv2 converts unicode comments to UTF-8.Olivier Tilloy2010-12-162-7/+15
| | | | | | Handle correctly all versions (≥ 0.19).
| * Unit test adding comments to an empty image an reading them back.Olivier Tilloy2010-12-152-4/+38
| |
| * Factorize the test data checksums in a dictionary.Olivier Tilloy2010-12-141-9/+15
| |
| * Unit test writing comments.Olivier Tilloy2010-12-141-0/+28
| |
| * Renamed some unit tests.Olivier Tilloy2010-12-141-3/+3
| |
| * Unit test reading comments off existing files.Olivier Tilloy2010-12-142-0/+62
| |
| * Additional unit tests for generic conversion of Comments.Olivier Tilloy2010-12-141-0/+10
| |
| * Updated test data checksums control file.Olivier Tilloy2010-12-141-2/+5
| |
| * More test data.Olivier Tilloy2010-12-141-0/+0
| |
| * Some test data.Olivier Tilloy2010-12-143-0/+0
| |
| * Fix test_write_exif_thumbnail_to_file on windows.Olivier Tilloy2010-12-091-1/+1
| | | | | | The file must be explicitly opened in binary mode for the comparison to work.
| * Commented out a unit test which result depends on FS mount options.Olivier Tilloy2010-12-081-1/+5
| |
| * Use isinstance(…) instead of type(…) everywhere, as recommended by ↵Olivier Tilloy2010-12-082-8/+8
| | | | | | | | | | Python’s documentation (http://docs.python.org/library/functions.html#type).
| * Unit test for the exception raised when trying to access the metadata of an ↵Olivier Tilloy2010-12-081-1/+34
| | | | | | | | image that has not been read() yet.
| * Unit tests for Rational conversions in XMP tags.Olivier Tilloy2010-11-301-1/+26
| |