diff options
author | koljonen <koljonen@outlook.com> | 2016-05-24 17:51:07 +0200 |
---|---|---|
committer | koljonen <koljonen@outlook.com> | 2016-05-31 01:29:44 +0200 |
commit | 740085dd23d70b11d6ac6c0372ec2885f7b87a24 (patch) | |
tree | cd3f5cc58c389a896c8ee8ab936f701a95abcc8c /tests | |
parent | 017bc3943fbe5685258d88439d29a30a11bd2559 (diff) |
Order columns by in-table order when expanding *
And add a setting to use alphabetic order instead.
We simply get the columns from the database in the canonical order, and then sort them if the user has opted for alphabetic order.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_completion_refresher.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_completion_refresher.py b/tests/test_completion_refresher.py index 932fe7dd..6eb057aa 100644 --- a/tests/test_completion_refresher.py +++ b/tests/test_completion_refresher.py @@ -38,7 +38,8 @@ def test_refresh_called_once(refresher): assert len(actual) == 1 assert len(actual[0]) == 4 assert actual[0][3] == 'Auto-completion refresh started in the background.' - bg_refresh.assert_called_with(pgexecute, special, callbacks, None) + bg_refresh.assert_called_with(pgexecute, special, callbacks, None, + None) def test_refresh_called_twice(refresher): |