Closed bassosimone closed 1 month ago
This issue is a child of https://github.com/ooni/probe/issues/2700. The aim is to improve testing for interactions with an OONI-like backend, before rewriting the code to use httpclientx instead of httpx. See also https://github.com/ooni/probe-cli/pull/1560.
httpclientx
httpx
More in detail, we need to take care of these files:
bouncer_test.go
checkin_test.go
measurementmeta_test.go
psiphon_test.go
tor_test.go
login_test.go
register_test.go
collector_test.go
Once we have improved our testing, we can move forward with replacing code.
This issue is a child of https://github.com/ooni/probe/issues/2700. The aim is to improve testing for interactions with an OONI-like backend, before rewriting the code to use
httpclientx
instead ofhttpx
. See also https://github.com/ooni/probe-cli/pull/1560.More in detail, we need to take care of these files:
bouncer_test.go
: https://github.com/ooni/probe-cli/pull/1566checkin_test.go
: https://github.com/ooni/probe-cli/pull/1566measurementmeta_test.go
: https://github.com/ooni/probe-cli/pull/1566psiphon_test.go
: https://github.com/ooni/probe-cli/pull/1568tor_test.go
: https://github.com/ooni/probe-cli/pull/1568login_test.go
: https://github.com/ooni/probe-cli/pull/1572register_test.go
: https://github.com/ooni/probe-cli/pull/1573collector_test.go
: https://github.com/ooni/probe-cli/pull/1575Once we have improved our testing, we can move forward with replacing code.