remotelogin/connections/expect/expect.py
def add(self, exp_reg_value_obj):
        """ adds an expected value object to the list

        Args:
            exp_reg_value_obj:

        Returns:

        """
        if exp_reg_value_obj.name:
            if exp_reg_value_obj.name in self._match_name_to_index:
                raise exceptions.ExpectListNameConflict
            else:
                self._match_name_to_index[exp_reg_value_obj.name] = len(self.expect_values)
        self.expect_values.append(exp_reg_value_obj)
        return self
 adds an expected value object to the list

        Args:
            exp_reg_value_obj:

        Returns:

        
adds an expected value object to the list
adds an expected value object to the list
def add(self, exp_reg_value_obj):
        if exp_reg_value_obj.name:
            if exp_reg_value_obj.name in self._match_name_to_index:
                raise exceptions.ExpectListNameConflict
            else:
                self._match_name_to_index[exp_reg_value_obj.name] = len(self.expect_values)
        self.expect_values.append(exp_reg_value_obj)
        return self
def add ( self , exp_reg_value_obj ) : if exp_reg_value_obj . name : if exp_reg_value_obj . name in self . _match_name_to_index : raise exceptions . ExpectListNameConflict else : self . _match_name_to_index [ exp_reg_value_obj . name ] = len ( self . expect_values ) self . expect_values . append ( exp_reg_value_obj ) return self
adds an expected value object to the list
adds an expected value object to the list
""" adds an expected value object to the list

        Args:
            exp_reg_value_obj:

        Returns:

        """
None
self
exp_reg_value_obj
None