From d4ecbfe2b3c7cc2daaa0ecd6c6d4229464efdd6e Mon Sep 17 00:00:00 2001 From: Stefan Allius Date: Sun, 22 Dec 2024 20:39:14 +0100 Subject: [PATCH] disable test coverage for __main__ --- app/src/server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/server.py b/app/src/server.py index 86c628c..e7c44af 100644 --- a/app/src/server.py +++ b/app/src/server.py @@ -238,5 +238,5 @@ def main(): # pragma: no cover logging.info(f'Finally, exit Server "{serv_name}"') -if __name__ == "__main__": +if __name__ == "__main__": # pragma: no cover main()