ocs_ci/ocs/ocp.py
def check_name_is_specified(self, resource_name=''):
        """
        Check if the name of the resource is specified in class level and
        if not raise the exception.

        Raises:
            ResourceNameNotSpecifiedException: in case the name is not
                specified.

        """
        resource_name = (
            resource_name if resource_name else self.resource_name
        )
        if not resource_name:
            raise ResourceNameNotSpecifiedException(
                "Resource name has to be specified in class!"
            )

        Check if the name of the resource is specified in class level and
        if not raise the exception.

        Raises:
            ResourceNameNotSpecifiedException: in case the name is not
                specified.

        
Check if the name of the resource is specified in class level and
if not raise the exception.
Check if the name of the resource is specified in class level and if not raise the exception .
def check_name_is_specified(self, resource_name=''):
        resource_name = (
            resource_name if resource_name else self.resource_name
        )
        if not resource_name:
            raise ResourceNameNotSpecifiedException(
                "Resource name has to be specified in class!"
            )
def check_name_is_specified ( self , resource_name = '' ) : resource_name = ( resource_name if resource_name else self . resource_name ) if not resource_name : raise ResourceNameNotSpecifiedException ( "Resource name has to be specified in class!" )
Check if the name of the resource is specified in class level and
if not raise the exception.
Check if the name of the resource is specified in class level and if not raise the exception .
"""
        Check if the name of the resource is specified in class level and
        if not raise the exception.

        Raises:
            ResourceNameNotSpecifiedException: in case the name is not
                specified.

        """
in case the name is not
specified.
in case the name is not specified .
ResourceNameNotSpecifiedException
self
resource_name