diff options
author | Ben Sima <ben@bsima.me> | 2025-05-22 13:53:08 -0400 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2025-05-22 13:53:08 -0400 |
commit | 202c8cf1112bf59ce8dbec886af02c226c0f4b3e (patch) | |
tree | 636eba5d4060c85ff72f3a3323b8ce4f3d641ad6 /Omni/Test.py | |
parent | 2bba78efc8a203785742355aa3f8852034e27e0d (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.py | 2 |
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.""" |