joshmoore/openmicroscopy — pull request #21 by sbesson (2013-12-02 22:01:28+00:00)
Title: Refactor test_db.py unit tests

- Use `CLI` with `mox` stubs instead of `MockCLI`
- Parametrize tests to test all combinations and group tests
- Test `--no-salt` arguments
- For `bin/omero db password --no-salt`, test the CLI output using `capsys`