Skip to content

Commit ac8255f

Browse files
committed
modified kafka test cases to match datacontenttype
1 parent cda67dc commit ac8255f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cloudevents/tests/test_kafka_conversions.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def source_event(self) -> CloudEvent:
5959
"source": "pytest",
6060
"type": "com.pytest.test",
6161
"time": datetime.datetime(2000, 1, 1, 6, 42, 33).isoformat(),
62-
"content-type": "foo",
62+
"datacontenttype": "foo",
6363
"partitionkey": "test_key_123",
6464
},
6565
data=self.expected_data,

0 commit comments

Comments
 (0)