diff options
| author | Ben Sima <ben@bsima.me> | 2025-08-13 13:36:30 -0400 |
|---|---|---|
| committer | Ben Sima <ben@bsima.me> | 2025-08-28 12:14:09 -0400 |
| commit | 0b005c192b2c141c7f6c9bff4a0702361814c21d (patch) | |
| tree | 3527a76137f6ee4dd970bba17a93617a311149cb /Omni/Test.py | |
| parent | 7de0a3e0abbf1e152423e148d507e17b752a4982 (diff) | |
Prototype PodcastItLater
This implements a working prototype of PodcastItLater. It basically just works
for a single user currently, but the articles are nice to listen to and this is
something that we can start to build with.
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) |
