From fa5a1b35eb6d426adb783f7c21882b3eae68f8cf Mon Sep 17 00:00:00 2001 From: Matthew Evans Date: Wed, 11 Oct 2023 13:33:10 +0100 Subject: [PATCH] Add a second dummy test that checks top-level imports --- tests/test_jobflow_remote.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tests/test_jobflow_remote.py b/tests/test_jobflow_remote.py index 37cd2fbe..64ff8957 100644 --- a/tests/test_jobflow_remote.py +++ b/tests/test_jobflow_remote.py @@ -3,3 +3,13 @@ def test_version(): assert __version__ == "0.0.1" + + +def test_imports(): + """This test triggers all the top-level imports by importing + the global `SETTINGS`. + + """ + from jobflow_remote import SETTINGS # noqa + + ...