From 44ba8147bbb1b651867b4b04e1711273d4a7281c Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 10 Dec 2023 11:18:43 +0100 Subject: Adding upstream version 1.10.0. Signed-off-by: Daniel Baumann --- tests/test_main.py | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'tests/test_main.py') diff --git a/tests/test_main.py b/tests/test_main.py index d4d52af..e2f183a 100644 --- a/tests/test_main.py +++ b/tests/test_main.py @@ -260,3 +260,13 @@ def test_import_command(executor): """ assert result.exit_code == 0 assert expected in "".join(result.output) + + +def test_startup_commands(executor): + m = LiteCli(liteclirc=default_config_file) + assert m.startup_commands["commands"] == [ + "create table startupcommands(a text)", + "insert into startupcommands values('abc')", + ] + + # implement tests on executions of the startupcommands -- cgit v1.2.3