From 202c8cf1112bf59ce8dbec886af02c226c0f4b3e Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Thu, 22 May 2025 13:53:08 -0400 Subject: 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. --- Omni/Test.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Omni/Test.py') 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.""" -- cgit v1.2.3