test_detect.py: replace the call to nproc by a fake result