summaryrefslogtreecommitdiffstats
path: root/tests/test_main.py
AgeCommit message (Collapse)Author
2016-09-27master: decimal and float format in config fileFoxygrandpa
2016-06-29Repair exception thrown on urls with portsEric Wald
When the database URL contains a port, uri.port is (at least in Python 2.7.6) an integer, not a string, so urlparse.unquote chokes on it. Fixes issue #536, but is probably worth verifying on Python 3.
2016-05-15Remove dead code and fix a broken test (all found by Codacy)koljonen
2016-04-27Unquote URI parts prior to using in connectionPavel Savchenko
As you know [RFC-3986][1] allows passing "disallowed" characters as long as these are percent encoded. Since we deal with the url parsing, we can expect this to happen and need to use the values after they have been decoded. [1]: https://tools.ietf.org/html/rfc3986#section-2.1
2016-02-03oh py2.6 how i don't miss youDavid Szotten
2016-02-03factor out `ensure_dir_exists` and use for logDavid Szotten
2016-02-03a few more testsDavid Szotten
2016-02-03ensure target dir exists when copying configDavid Szotten
2016-02-02test for recent patch for execute_from_fileDavid Szotten
to prevent obvious regressions at least
2015-11-22Add tests for the format_output.Amjith Ramanujam
2015-10-28Refactor a lot of `run_cli` into smaller submethods:Darik Gamble
`_build_cli`, '_evaluate_command` and `_handle_server_closed_connection` _evalute_command returns (output, MetaQuery) tuple where MetaQuery is a namedtuple (query, successful, total_time, meta_changed, db_changed, path_changed, mutated)
2015-10-26Setproctitle should be optional in tests.Iryna Cherniavska
2015-10-23Make setproctitle optional in WindowsAmjith Ramanujam
2015-10-19Clearer function name, handle passwords with spacesStuart Quin
2015-10-18Issue #355 Use setproctitle to hide command line passwordsStuart Quin
2015-10-03Fix need_completion_refreshDarik Gamble
Was only actually checking the first command in multiple commands