openmicroscopy/openmicroscopy — pull request #2361 by sbesson (2014-04-25 14:23:15+00:00)
Title: Add unit tests for CLI connection string parser

As a follow up of https://github.com/openmicroscopy/openmicroscopy/pull/2358#issuecomment-41378688, this PR:

- converts `SessionsControl._parse_conn()` into a static method
- adds unit tests for the parsing of connection string of the form `(user@)server(:port)`
- adds cosmetic improvements to the matching logic in `_parse_conn`