File tree Expand file tree Collapse file tree 3 files changed +11
-10
lines changed
Expand file tree Collapse file tree 3 files changed +11
-10
lines changed Original file line number Diff line number Diff line change 1010# CloudEvent field names
1111SPECVERSION_FIELD = "specversion"
1212TYPE_FIELD = "type"
13- PING_RECEIVED_TYPE = "io.eventsourcingdb.ping-received"
13+ PING_RECEIVED_TYPE = "io.eventsourcingdb.api. ping-received"
1414
1515
1616async def ping (client : AbstractBaseClient ) -> None :
Original file line number Diff line number Diff line change @@ -15,12 +15,12 @@ packages = [{include = "eventsourcingdb"}]
1515
1616[tool .poetry .dependencies ]
1717python = " ^3.13"
18- aiohttp = " 3.11.16"
18+ aiohttp = " ^ 3.11.16"
1919
2020[tool .poetry .group .dev .dependencies ]
21- pytest = " 8.3.5"
22- flask = " 3.1.0"
23- pylint = " 3.3.5"
24- autopep8 = " 2.3.2"
25- pytest-timeout = " 2.3.1"
26- pytest-asyncio = " 0.25.3"
21+ pytest = " ^ 8.3.5"
22+ flask = " ^ 3.1.0"
23+ pylint = " ^ 3.3.5"
24+ autopep8 = " ^ 2.3.2"
25+ pytest-timeout = " ^ 2.3.1"
26+ pytest-asyncio = " ^ 0.25.3"
Original file line number Diff line number Diff line change @@ -50,8 +50,9 @@ async def test_reads_all_types_of_existing_events_and_registered_schemas(
5050 ),
5151 ])
5252
53- await client .register_event_schema ("org.ban.ban" , '{"type":"object"}' )
54- await client .register_event_schema ("org.bing.chilling" , '{"type":"object"}' )
53+ # Use Python dictionaries instead of JSON strings
54+ await client .register_event_schema ("org.ban.ban" , {"type" : "object" })
55+ await client .register_event_schema ("org.bing.chilling" , {"type" : "object" })
5556
5657 actual_event_types : set [EventType ] = set ()
5758 async for event_type in client .read_event_types ():
You can’t perform that action at this time.
0 commit comments