test: Fix failing test
This no longer checks the error messages.
Fixes build [1]
[1] https://jenkins.softwareheritage.org/job/DDEP/job/tests/1273/console