def METHOD_NAME(prefix):
    '''Assign a custom prefix to a test.
    This is useful in unit tests when we want to create tests on-the-fly and
    associate them with existing resources.'''
    def _set_prefix(cls):
        cls._rfm_custom_prefix = prefix
        return cls
    return _set_prefix