Change tests.error name to be consistent with smarkets.errors
Silence pylint