diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-06-19 06:58:13 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-06-19 06:58:13 +0000 |
commit | a4a8868c9aef11c418df378332c597b390e1bc7e (patch) | |
tree | c68cce344dc53b62c7f7ac5fa92c7dcfb6742c71 /tests/test_dbspecial.py | |
parent | Adding upstream version 1.8.0. (diff) | |
download | litecli-38eb98667a424357022019ab9fa58f50ed2e5e20.tar.xz litecli-38eb98667a424357022019ab9fa58f50ed2e5e20.zip |
Adding upstream version 1.9.0.upstream/1.9.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/test_dbspecial.py')
-rw-r--r-- | tests/test_dbspecial.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/test_dbspecial.py b/tests/test_dbspecial.py index c7065a9..5128b5b 100644 --- a/tests/test_dbspecial.py +++ b/tests/test_dbspecial.py @@ -63,3 +63,14 @@ def test_format_uptime(): seconds = 522600 assert "6 days 1 hour 10 min 0 sec" == format_uptime(seconds) + + +def test_indexes(): + suggestions = suggest_type(".indexes", ".indexes ") + assert sorted_dicts(suggestions) == sorted_dicts( + [ + {"type": "table", "schema": []}, + {"type": "view", "schema": []}, + {"type": "schema"}, + ] + ) |