Commit b5a74214 authored by Jérome Perrin's avatar Jérome Perrin

use re.search to filter tests in --run

re.match only find matches where the pattern appears at the beginning of
the string, whereas re.search matches if the pattern appears anywhere in
the string. This is behavior is consistent with pytest, go test and ERP5's
runUnitTest

For more details, see the discussion from nexedi/nxdtest!6 (comment 121409)

/reviewed-on: nexedi/nxdtest!8
parent 1e6a1cc6
Pipeline #12550 passed with stage
in 0 seconds