def METHOD_NAME(self):
    # multiple periods are properly detected as bad
    self.assertEqual(parse_frequency('123..Hz'), -1)
    self.assertEqual(parse_frequency('123...Hz'), -1)
    self.assertEqual(parse_frequency('123....Hz'), -1)
    self.assertEqual(parse_frequency('1.23.Hz'), -1)