-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
...and fix one wrong doctest
- Loading branch information
Jens Diemer
committed
Feb 27, 2024
1 parent
9e702ab
commit 8f3f6bc
Showing
2 changed files
with
19 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
from bx_py_utils.test_utils.unittest_utils import BaseDocTests, DocTestResults | ||
|
||
import huey_monitor | ||
import huey_monitor_project | ||
|
||
|
||
class DocTests(BaseDocTests): | ||
def test_doctests(self): | ||
results: DocTestResults = self.run_doctests( | ||
modules=( | ||
huey_monitor, | ||
huey_monitor_project, | ||
) | ||
) | ||
self.assertGreaterEqual(results.passed, 25) | ||
self.assertEqual(results.skipped, 0) | ||
self.assertLessEqual(results.failed, 0) |