Skip to content

Commit 6104a0d

Browse files
authored
chore: Update c2pa-native-version.txt to use c2pa v0.75.16 (#224)
* chore: Update c2pa-native-version.txt * fix: Update test_unit_tests.py * Update test_unit_tests.py * Update c2pa-native-version.txt * Update test_unit_tests.py * Update c2pa-native-version.txt * fix: Remove obsolete test * fix: Prep for 0.75.16 * fix: Retrigger all tests
1 parent f19695d commit 6104a0d

2 files changed

Lines changed: 3 additions & 8 deletions

File tree

c2pa-native-version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
c2pa-v0.75.10
1+
c2pa-v0.75.16

tests/test_unit_tests.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def load_test_settings_json():
4545
"""
4646
Load default (legacy) trust configuration test settings from a
4747
JSON config file and return its content as JSON-compatible dict.
48-
The return value is used to load settings.
48+
The return value is used to load settings (thread_local) in tests.
4949
5050
Returns:
5151
dict: The parsed JSON content as a Python dictionary (JSON-compatible).
@@ -68,7 +68,7 @@ def load_test_settings_json():
6868
class TestC2paSdk(unittest.TestCase):
6969
def test_sdk_version(self):
7070
# This test verifies the native libraries used match the expected version
71-
self.assertIn("0.75.10", sdk_version())
71+
self.assertIn("0.75.16", sdk_version())
7272

7373

7474
class TestReader(unittest.TestCase):
@@ -4374,11 +4374,6 @@ def tearDown(self):
43744374
if os.path.exists(self.temp_data_dir):
43754375
shutil.rmtree(self.temp_data_dir)
43764376

4377-
def test_invalid_settings_str(self):
4378-
"""Test loading a malformed settings string."""
4379-
with self.assertRaises(Error):
4380-
load_settings(r'{"verify": { "remote_manifest_fetch": false }')
4381-
43824377
def test_read_ingredient_file(self):
43834378
"""Test reading a C2PA ingredient from a file."""
43844379
# Test reading ingredient from file with data_dir

0 commit comments

Comments
 (0)