summaryrefslogtreecommitdiff
path: root/Omni/Test.py
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2025-05-22 13:53:08 -0400
committerBen Sima <ben@bsima.me>2025-05-22 13:53:08 -0400
commit202c8cf1112bf59ce8dbec886af02c226c0f4b3e (patch)
tree636eba5d4060c85ff72f3a3323b8ce4f3d641ad6 /Omni/Test.py
parent2bba78efc8a203785742355aa3f8852034e27e0d (diff)
Add TestCase to Omni.Test
Also improves the Example.py a bit with a real test case and example of how to use Omni.Test.
Diffstat (limited to 'Omni/Test.py')
-rw-r--r--Omni/Test.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Omni/Test.py b/Omni/Test.py
index 495334a..57270f9 100644
--- a/Omni/Test.py
+++ b/Omni/Test.py
@@ -6,6 +6,8 @@ import Omni.Log as Log
import typing
import unittest
+TestCase = unittest.TestCase
+
def run(area: App.Area, tests: list[typing.Any]) -> None:
"""Run the given tests with loglevel determined by area."""