From 5cfa23ee4d0fd74f2e61fb8160e5a427bfb577b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20tom=20W=C3=B6rden?= <h.tomwoerden@indiscale.com> Date: Fri, 6 Oct 2023 17:11:29 +0200 Subject: [PATCH] TST: test db.Info --- tests/test_messages.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/test_messages.py b/tests/test_messages.py index dfa1402..6692ef3 100644 --- a/tests/test_messages.py +++ b/tests/test_messages.py @@ -69,3 +69,7 @@ def test_messages_dict_behavior(): # this Message has no code and no description (make easy things easy...) msgs["HelloWorld"] = "Hello!" assert msgs["HelloWorld"] == "Hello!" + +def test_info(): + a = str(db.Info()) + assert a.startswith("Connection to") -- GitLab