diff options
author | Olivier Tilloy <olivier@tilloy.net> | 2009-03-24 09:53:17 +0100 |
---|---|---|
committer | Olivier Tilloy <olivier@tilloy.net> | 2009-03-24 09:53:17 +0100 |
commit | 1a28d13266e2993c52ededd3cfda3aa708c4e7c3 (patch) | |
tree | 79acbeb3d401e6f5b1d1c013bf5c505c4dd61173 /unittest/exif.py | |
parent | e78316f24a60c79ace82f537e83eed2d0261ab2e (diff) | |
download | pyexiv2-1a28d13266e2993c52ededd3cfda3aa708c4e7c3.tar.gz |
Private setters for EXIF tags.
Diffstat (limited to 'unittest/exif.py')
-rw-r--r-- | unittest/exif.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unittest/exif.py b/unittest/exif.py index a398b27..4809cbd 100644 --- a/unittest/exif.py +++ b/unittest/exif.py @@ -54,9 +54,9 @@ class TestExifTag(unittest.TestCase): xtype = 'Ascii' # Valid values: datetimes self.assertEqual(ExifTag._convert_to_string(datetime.datetime(2009, 03, 01, 12, 54, 28), xtype), - '2009-03-01 12:54:28') + '2009:03:01 12:54:28') self.assertEqual(ExifTag._convert_to_string(datetime.date(2009, 03, 01), xtype), - '2009-03-01 00:00:00') + '2009:03:01 00:00:00') # Valid values: strings self.assertEqual(ExifTag._convert_to_string(u'Some text', xtype), 'Some text') self.assertEqual(ExifTag._convert_to_string(u'Some text with exotic chàräctérʐ.', xtype), |