@@ -30,7 +30,7 @@ async def test_python_workflow_calls_php_activity(server_url: str, server_token:
3030
3131 This validates:
3232 - Python workflows can schedule activities with type keys registered by PHP workers
33- - JSON payloads serialize correctly from Python
33+ - Avro payloads serialize correctly from Python by default
3434 - PHP activity results deserialize correctly in Python
3535 - Codec envelopes round-trip across runtimes
3636 """
@@ -44,7 +44,7 @@ async def test_python_workflow_calls_php_activity(server_url: str, server_token:
4444 "count" : 42 ,
4545 "price" : 99.95 ,
4646 "active" : True ,
47- "tags" : ["python" , "php" , "json " ],
47+ "tags" : ["python" , "php" , "avro " ],
4848 "metadata" : {
4949 "source" : "integration-test" ,
5050 "version" : 2 ,
@@ -96,7 +96,7 @@ async def test_python_workflow_calls_php_activity(server_url: str, server_token:
9696 # Verify activity arguments are envelope-wrapped
9797 activity_args = server_cmd .get ("arguments" , {})
9898 assert "codec" in activity_args , "activity arguments should be codec-wrapped"
99- assert activity_args .get ("codec" ) == "json "
99+ assert activity_args .get ("codec" ) == "avro "
100100
101101 # 5. Complete workflow task
102102 await client .complete_workflow_task (
0 commit comments