def METHOD_NAME(self):
    vals = {"name": "Wrong Akretion France"}
    with self.assertRaises(ValidationError):
        self.env["res.partner"].create(dict(vals, siret="79237773100022"))
    with self.assertRaises(ValidationError):
        self.env["res.partner"].create(dict(vals, siret="792377731"))
    with self.assertRaises(ValidationError):
        self.env["res.partner"].create(dict(vals, siret="78237773100023"))
    with self.assertRaises(ValidationError):
        self.env["res.partner"].create(dict(vals, siren="782377731", nic="00023"))
    with self.assertRaises(ValidationError):
        self.env["res.partner"].create(dict(vals, siren="792377731", nic="00022"))