def METHOD_NAME(self):
    with self.assertRaisesRegex(KeyError, 'metric unknown is not'):
        MOTChallengeMetric(metric='unknown')
    with self.assertRaises(AssertionError):
        MOTChallengeMetric(benchmark='MOT21')