-
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.
Merge pull request #148 from boxine/fixes
Fix ZeroDivisionError and doctests
- Loading branch information
Showing
7 changed files
with
1,850 additions
and
2,829 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) |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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