示例#1
0
文件: exif.py 项目: mcmclx/py3exiv2
 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
文件: exif.py 项目: Namejs/workr
 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