aboutsummaryrefslogtreecommitdiffstats
path: root/python-packages/json_schemas/test/test_doctest.py
diff options
context:
space:
mode:
Diffstat (limited to 'python-packages/json_schemas/test/test_doctest.py')
-rw-r--r--python-packages/json_schemas/test/test_doctest.py25
1 files changed, 0 insertions, 25 deletions
diff --git a/python-packages/json_schemas/test/test_doctest.py b/python-packages/json_schemas/test/test_doctest.py
deleted file mode 100644
index 2aa576422..000000000
--- a/python-packages/json_schemas/test/test_doctest.py
+++ /dev/null
@@ -1,25 +0,0 @@
-"""Exercise doctests for all of our modules."""
-
-from doctest import testmod
-import pkgutil
-import importlib
-
-import zero_ex.json_schemas
-
-
-def test_all_doctests():
- """Gather zero_ex.json_schemas.* modules and doctest them."""
- # json_schemas module
- module = "zero_ex.json_schemas"
- print(module)
- failure_count, _ = testmod(importlib.import_module(module))
- assert failure_count == 0
-
- # any json_schemas.* sub-modules
- for (_, modname, _) in pkgutil.walk_packages(
- path=zero_ex.json_schemas.__path__, prefix="zero_ex.json_schemas"
- ):
- module = importlib.import_module(modname)
- print(module)
- (failure_count, _) = testmod(module)
- assert failure_count == 0