flatpak-external-data-checker icon indicating copy to clipboard operation
flatpak-external-data-checker copied to clipboard

Tests are absurdly slow due to massive network requests

Open wjt opened this issue 2 years ago • 1 comments

The full test suite takes many minutes to run, and performs multiple gigabytes of network requests. The worst offender is test_chromiumchecker.py because this test involves downloading a chromium source tarball – more than 3 GiB.

wjt avatar Nov 08 '23 13:11 wjt

I tried to use aioresponses https://github.com/pnuckowski/aioresponses but I am apparently not smart enough to make this work. The mock object gets stopped too early for reasons I don't understand.

wjt avatar Nov 08 '23 13:11 wjt