Skip to content

Commit

Permalink
Run doctests
Browse files Browse the repository at this point in the history
  • Loading branch information
NoamNol committed Sep 16, 2024
1 parent 75adb16 commit 197efd9
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"python.testing.unittestArgs": [
"-v",
"-s",
"./tests",
"./tests/unittests",
"-p",
"test*.py"
],
Expand Down
8 changes: 8 additions & 0 deletions tests/doctest/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import doctest
from gematriapy import gematria


# Discover all doctests in the package
def load_tests(loader, tests, ignore):
tests.addTests(doctest.DocTestSuite(gematria))
return tests
Empty file added tests/unittests/__init__.py
Empty file.
File renamed without changes.
File renamed without changes.

0 comments on commit 197efd9

Please sign in to comment.