def METHOD_NAME(self):
    with pytest.raises(
        ChargeMethodUnavailableError,
        match="Charge model hartree_fock not supported",
    ):
        create_ethanol().assign_partial_charges(
            partial_charge_method="hartree_fock",
            toolkit_registry=_NAGLToolkitWrapper(),
        )