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)
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)
def test_set_value(): tag = ExifTag('Exif.Thumbnail.Orientation', 1) # top, left old_value = tag.value tag.value = 2 assert tag.value != old_value