From e6b4d00e3a586be753c3d457c5153380392bda32 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 19 Jun 2022 08:58:18 +0200 Subject: Merging upstream version 1.9.0. Signed-off-by: Daniel Baumann --- tests/test_dbspecial.py | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'tests/test_dbspecial.py') 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"}, + ] + ) -- cgit v1.2.3