It's usually better to use:

```
self.assertEquals(expected, base_packages.parse_ssh_path(val))
```