def METHOD_NAME(self):
    self.assertRaises(
        exceptions.ValidationError,
        self._activate_certificate,
        b"Wrong passwd",
    )
    self._activate_certificate(self.certificate_password)
    self.assertEqual(self.sii_cert.state, "active")