Created
May 2, 2020 06:37
-
-
Save metatoaster/b28ef5b1e4f849d939e9a3b3dc11c0a6 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
import unittest | |
from os.path import dirname | |
def make_suite(): # pragma: no cover | |
test_loader = unittest.TestLoader() | |
test_suite = test_loader.discover( | |
__name__, pattern='test_*.py', | |
top_level_dir=dirname(__file__), | |
) | |
return test_suite |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment