From 18d4f62d243a3b2970c21eee461b4d6ede80e919 Mon Sep 17 00:00:00 2001 From: mistangl Date: Mon, 2 Feb 2026 11:50:35 +0100 Subject: [PATCH] =?UTF-8?q?Unittest=20soll=20vorher=20ausgeben=20dass=20er?= =?UTF-8?q?=20l=C3=A4uft?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/create_numbers_test.py | 12 +++++++++--- lib/flags_test.py | 4 ++++ 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/lib/create_numbers_test.py b/lib/create_numbers_test.py index 82240af..8fdde8b 100644 --- a/lib/create_numbers_test.py +++ b/lib/create_numbers_test.py @@ -43,6 +43,15 @@ def create_test_symbols(): class TestEntitySorting(unittest.TestCase): """Tests for running all combinations of sort_symbols_by_direction.""" + @classmethod + def setUpClass(cls): + """Wird einmal vor allen Tests ausgeführt.""" + print("="*70) + print("Test Suite: sort_symbols_by_direction") + print("="*70) + print() + sys.stdout.flush() + def test_top_bottom_left_right(self): """ Test TOP_BOTTOM/LEFT_RIGHT: Von oben nach unten, in jeder Zeile von links nach rechts @@ -356,7 +365,4 @@ class TestEntitySorting(unittest.TestCase): if __name__ == '__main__': - print("="*70) - print("Test Suite: sort_symbols_by_direction") unittest.main() - print("="*70) diff --git a/lib/flags_test.py b/lib/flags_test.py index e55a53d..9054043 100644 --- a/lib/flags_test.py +++ b/lib/flags_test.py @@ -4,6 +4,10 @@ Erstellt Icons für verschiedene Sprachen basierend auf dxfCs.png. """ import flags +print("="*70) +print("Test Suite: Flags create") +print("="*70) + # Generiere alle Flaggen-Icons icons = [] icons.append(flags.add_flag(flags.flag_en, "dxfen"))