003 File Manager
Current Path:
/usr/local/lib/python3.8/unittest/test/testmock
usr
/
local
/
lib
/
python3.8
/
unittest
/
test
/
testmock
/
📁
..
📄
__init__.py
(465 B)
📄
__main__.py
(623 B)
📁
__pycache__
📄
support.py
(268 B)
📄
testasync.py
(36.46 KB)
📄
testcallable.py
(4.17 KB)
📄
testhelpers.py
(32.24 KB)
📄
testmagicmethods.py
(15.96 KB)
📄
testmock.py
(67.12 KB)
📄
testpatch.py
(55.25 KB)
📄
testsealable.py
(4.88 KB)
📄
testsentinel.py
(1.29 KB)
📄
testwith.py
(11.97 KB)
Editing: __init__.py
import os import sys import unittest here = os.path.dirname(__file__) loader = unittest.defaultTestLoader def load_tests(*args): suite = unittest.TestSuite() for fn in os.listdir(here): if fn.startswith("test") and fn.endswith(".py"): modname = "unittest.test.testmock." + fn[:-3] __import__(modname) module = sys.modules[modname] suite.addTest(loader.loadTestsFromModule(module)) return suite
Upload File
Create Folder