Skip to content

Commit cf26750

Browse files
committed
Add custom extension attribute to the test set.
Replicates bug test data from the #228 Signed-off-by: Yurii Serhiichuk <[email protected]>
1 parent 8ada7d9 commit cf26750

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cloudevents/tests/test_pydantic_conversions.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@
3333
test_attributes = {
3434
"type": "com.example.string",
3535
"source": "https://example.com/event-producer",
36+
"extension-attribute": "extension-attribute-test-value",
3637
}
3738

38-
3939
_pydantic_implementation = {
4040
"v1": {
4141
"event": PydanticV1CloudEvent,
@@ -177,3 +177,4 @@ def test_from_dict(cloudevents_implementation):
177177
"type": "dummy.type",
178178
}
179179
assert cloudevents_implementation["from_dict"](given).dict() == given
180+

0 commit comments

Comments
 (0)