'Normalizes the given path.
Examples:
| ${path} = | Normalize Path | abc        |
| ${p2} =   | Normalize Path | abc/       |
| ${p3} =   | Normalize Path | abc/../def |
| ${p4} =   | Normalize Path | abc/./def  |
| ${p5} =   | Normalize Path | abc//def   |
- ${path} = \'abc\'
- ${p2} = \'abc\'
- ${p3} = \'def\'
- ${p4} = \'abc/def\'
- ${p5} = \'abc/def\''

def normalize_path(self, path):

    path = os.path.normpath(os.path.expanduser(path.replace('/', os.sep)))
    return (path or '.')
