def METHOD_NAME(self):
    response = self._make_authenticated_request()
    for family in text_string_to_metric_families(response.content.decode("utf-8")):
        if family.name != "zentral_santa_enrolled_machines":
            continue
        else:
            self.assertEqual(len(family.samples), 1)
            sample = family.samples[0]
            self.assertEqual(sample.value, 1)
            self.assertEqual(sample.labels["configuration"], self.configuration.name)
            self.assertEqual(sample.labels["mode"], "monitor")
            self.assertEqual(sample.labels["santa_version"], self.enrolled_machine.santa_version)
            break
    else:
        raise AssertionError("could not find expected metric family")
    self.assertEqual(response.status_code, 200)