Unittest soll vorher ausgeben dass er läuft
This commit is contained in:
@@ -43,6 +43,15 @@ def create_test_symbols():
|
|||||||
class TestEntitySorting(unittest.TestCase):
|
class TestEntitySorting(unittest.TestCase):
|
||||||
"""Tests for running all combinations of sort_symbols_by_direction."""
|
"""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):
|
def test_top_bottom_left_right(self):
|
||||||
"""
|
"""
|
||||||
Test TOP_BOTTOM/LEFT_RIGHT: Von oben nach unten, in jeder Zeile von links nach rechts
|
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__':
|
if __name__ == '__main__':
|
||||||
print("="*70)
|
|
||||||
print("Test Suite: sort_symbols_by_direction")
|
|
||||||
unittest.main()
|
unittest.main()
|
||||||
print("="*70)
|
|
||||||
|
|||||||
@@ -4,6 +4,10 @@ Erstellt Icons für verschiedene Sprachen basierend auf dxfCs.png.
|
|||||||
"""
|
"""
|
||||||
import flags
|
import flags
|
||||||
|
|
||||||
|
print("="*70)
|
||||||
|
print("Test Suite: Flags create")
|
||||||
|
print("="*70)
|
||||||
|
|
||||||
# Generiere alle Flaggen-Icons
|
# Generiere alle Flaggen-Icons
|
||||||
icons = []
|
icons = []
|
||||||
icons.append(flags.add_flag(flags.flag_en, "dxfen"))
|
icons.append(flags.add_flag(flags.flag_en, "dxfen"))
|
||||||
|
|||||||
Reference in New Issue
Block a user