Page MenuHomeSoftware Heritage

api/async: fix json decoder and add a few tests for the asynchronous api code
ClosedPublic

Authored by douardda on Jul 1 2019, 1:42 PM.

Details

Summary

Note that test_post_struct_json is failing with current implementation,
the fix comes with the second revision in this diff:

json.loads() expect a str, not a bytes.

Depends on D1670.

Diff Detail

Repository
rDCORE Foundations and core functionalities
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

rebase + apply class renamings from D1670

Add a fix for collateral damaged test_statsd.py

This revision is now accepted and ready to land.Jul 1 2019, 4:20 PM
This revision was automatically updated to reflect the committed changes.