ooni / backend

Everything related to OONI backend infrastructure: ooni/api, ooni/pipeline, ooni/sysadmin, collector, bouncers and test-helpers
BSD 3-Clause "New" or "Revised" License
48 stars 29 forks source link

fix(ooniauth): fix `NoneType` error while running tests #857

Closed DecFox closed 2 weeks ago

DecFox commented 2 weeks ago

The CI seems to be failing here: https://github.com/ooni/backend/actions/runs/9806850337/job/27079418730. This should fix the error by accounting for the Nonetype check while fetching fields from the client token by wrapping in a try-except block. Closes #858