Skip to content

Commit ae5be2a

Browse files
authored
fix: Clarify tests (#203)
* fix: Initial example * fix: Switch to other runner * fix: Clarify other usages
1 parent 476eb23 commit ae5be2a

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

tests/test_unit_tests.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,8 @@ def test_sign_and_read_is_not_embedded(self):
577577
"data": {
578578
"actions": [
579579
{
580-
"action": "c2pa.opened"
580+
"action": "c2pa.created",
581+
"digitalSourceType": "http://cv.iptc.org/newscodes/digitalsourcetype/digitalCreation"
581582
}
582583
]
583584
}
@@ -745,8 +746,8 @@ def setUp(self):
745746
"data": {
746747
"actions": [
747748
{
748-
"action": "c2pa.opened"
749-
# Should have more parameters here, but omitted in tests
749+
"action": "c2pa.created",
750+
"digitalSourceType": "http://cv.iptc.org/newscodes/digitalsourcetype/digitalCreation"
750751
}
751752
]
752753
}
@@ -2227,8 +2228,9 @@ def test_builder_manifest_with_unicode_characters(self):
22272228
"data": {
22282229
"actions": [
22292230
{
2230-
"action": "c2pa.opened",
2231-
"description": "Opened with Unicode: test"
2231+
"action": "c2pa.created",
2232+
"description": "Unicode: test",
2233+
"digitalSourceType": "http://cv.iptc.org/newscodes/digitalsourcetype/digitalCreation"
22322234
}
22332235
]
22342236
}

0 commit comments

Comments
 (0)