def METHOD_NAME(self):
    with self.assertRaises(ValueError) as cm:
        app_theme.lighten("#1g3h5i", 50)
    self.assertEqual(
        'Given "#1g3h5i", but needs to be in '
        'hex color format (e.g.: "#2d3436").',
        str(cm.exception),
    )