Skip to content

Commit 01e688f

Browse files
committed
fix: Test fix
1 parent 0e60713 commit 01e688f

1 file changed

Lines changed: 26 additions & 2 deletions

File tree

‎tests/test_unit_tests_threaded.py‎

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4293,7 +4293,19 @@ def test_close_during_sign_does_not_deadlock(self):
42934293
"claim_generator_info": [
42944294
{"name": "python_test", "version": "0.0.1"}],
42954295
"format": "image/jpeg",
4296-
"assertions": [],
4296+
"assertions": [
4297+
{
4298+
"label": "c2pa.actions",
4299+
"data": {
4300+
"actions": [
4301+
{
4302+
"action": "c2pa.created",
4303+
"digitalSourceType": "http://cv.iptc.org/newscodes/digitalsourcetype/digitalCreation"
4304+
}
4305+
]
4306+
}
4307+
}
4308+
],
42974309
}
42984310
errors = []
42994311

@@ -5007,7 +5019,19 @@ def test_sign_with_internal_close_frees_once(self):
50075019
"claim_generator_info": [
50085020
{"name": "python_test", "version": "0.0.1"}],
50095021
"format": "image/jpeg",
5010-
"assertions": [],
5022+
"assertions": [
5023+
{
5024+
"label": "c2pa.actions",
5025+
"data": {
5026+
"actions": [
5027+
{
5028+
"action": "c2pa.created",
5029+
"digitalSourceType": "http://cv.iptc.org/newscodes/digitalsourcetype/digitalCreation"
5030+
}
5031+
]
5032+
}
5033+
}
5034+
],
50115035
}
50125036
signer = Signer.from_info(signer_info)
50135037
builder = Builder(manifest)

0 commit comments

Comments
 (0)