def METHOD_NAME(self, name, expected):
    """Test filter of bad releases.
    :param name:
    :param expected:
    :return:
    """
    result = naming.filter_bad_releases(name)
    self.assertEqual(result, expected)