File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed
Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 1- c2pa-v0.59 .1
1+ c2pa-v0.60 .1
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44
55[project ]
66name = " c2pa-python"
7- version = " 0.13 .0"
7+ version = " 0.14 .0"
88requires-python = " >=3.10"
99description = " Python bindings for the C2PA Content Authenticity Initiative (CAI) library"
1010readme = { file = " README.md" , content-type = " text/markdown" }
Original file line number Diff line number Diff line change 4040
4141class TestC2paSdk (unittest .TestCase ):
4242 def test_sdk_version (self ):
43- self .assertIn ("0.59 .1" , sdk_version ())
43+ self .assertIn ("0.60 .1" , sdk_version ())
4444
4545
4646class TestReader (unittest .TestCase ):
@@ -956,6 +956,7 @@ def test_builder_sign_with_setting_no_thumbnail_and_ingredient(self):
956956 # Verify the first ingredient's title matches what we set
957957 first_ingredient = active_manifest ["ingredients" ][0 ]
958958 self .assertEqual (first_ingredient ["title" ], "Test Ingredient" )
959+ self .assertNotIn ("thumbnail" , first_ingredient )
959960
960961 builder .close ()
961962
@@ -1791,7 +1792,10 @@ def test_read_ingredient_file_who_has_no_manifest(self):
17911792 ingredient_data = json .loads (ingredient_json_with_dir )
17921793 self .assertEqual (ingredient_data ["title" ], INGREDIENT_TEST_FILE_NAME )
17931794 self .assertEqual (ingredient_data ["format" ], "image/jpeg" )
1794- self .assertIn ("thumbnail" , ingredient_data )
1795+ self .assertNotIn ("thumbnail" , ingredient_data )
1796+
1797+ # Reset setting
1798+ load_settings ('{"builder": { "thumbnail": {"enabled": true}}}' )
17951799
17961800 def test_compare_read_ingredient_file_with_builder_added_ingredient (self ):
17971801 """Test reading a C2PA ingredient from a file."""
You can’t perform that action at this time.
0 commit comments