Пример #1
0
 def test_set_value(self):
     tag = ExifTag('Exif.Thumbnail.Orientation', 1)  # top, left
     old_value = tag.value
     tag.value = 2
     self.failIfEqual(tag.value, old_value)
Пример #2
0
 def test_set_value(self):
     tag = ExifTag("Exif.Thumbnail.Orientation", 1)  # top, left
     old_value = tag.value
     tag.value = 2
     self.failIfEqual(tag.value, old_value)
Пример #3
0
def test_set_value():
    tag = ExifTag('Exif.Thumbnail.Orientation', 1)  # top, left
    old_value = tag.value
    tag.value = 2
    assert tag.value != old_value