tests: fix check-code breakage

--HG--
branch : stable