diff options
Diffstat (limited to 'Omni/Test.py')
| -rw-r--r-- | Omni/Test.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Omni/Test.py b/Omni/Test.py index 57270f9..89ef1fa 100644 --- a/Omni/Test.py +++ b/Omni/Test.py @@ -9,6 +9,10 @@ import unittest TestCase = unittest.TestCase +class TestError(Exception): + """When the test environment or harness encounters a problem.""" + + def run(area: App.Area, tests: list[typing.Any]) -> None: """Run the given tests with loglevel determined by area.""" Log.setup(logging.DEBUG if area == App.Area.Test else logging.ERROR) |
