Pātuhitia tēnei: Partition functions for supersymmetric black holes