Robot Framework
robot.utils.normalizing Namespace Reference

Classes

class  NormalizedDict
 Custom dictionary implementation automatically normalizing keys. More...
 

Functions

def normalize (string, ignore=(), caseless=True, spaceless=True)
 Normalizes given string according to given spec. More...
 
def normalize_whitespace (string)
 

Function Documentation

◆ normalize()

def robot.utils.normalizing.normalize (   string,
  ignore = (),
  caseless = True,
  spaceless = True 
)

Normalizes given string according to given spec.

By default string is turned to lower case and all whitespace is removed.
Additional characters can be removed by giving them in ``ignore`` list.

Definition at line 27 of file normalizing.py.

◆ normalize_whitespace()

def robot.utils.normalizing.normalize_whitespace (   string)

Definition at line 45 of file normalizing.py.