mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
- Using `--dist=loadscope` splits the tests based on module, thus ensuring each app's tests get assigned to one worker only. - Though app servers run in 2 separate VMs, the pytest-xdist workers simply run in two Python subprocesses (`-n 2`). This allows us to generate a unified test report. Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>