def METHOD_NAME(self):
    self.assertEqual(imt.from_string('SA(1)'), ('SA(1.0)', 1, 5))
    self.assertEqual(imt.from_string('SA(1.)'), ('SA(1.0)', 1, 5))
    self.assertEqual(imt.from_string('SA(0.5)'), ('SA(0.5)', 0.5, 5))
    self.assertEqual(imt.from_string('PGV'), ('PGV', 0., 5))
    with self.assertRaises(KeyError):
        imt.from_string('S(1)')