Unittest soll vorher ausgeben dass er läuft

This commit is contained in:
2026-02-02 11:50:35 +01:00
parent 246692b4e6
commit 18d4f62d24
2 changed files with 13 additions and 3 deletions
+9 -3
View File
@@ -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)
+4
View File
@@ -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"))