diff options
Diffstat (limited to 'tests/__init__.py')
-rw-r--r-- | tests/__init__.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/__init__.py b/tests/__init__.py index fa393d9..450c573 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1,10 +1,12 @@ +import os.path import sys import unittest def suite(): test_loader = unittest.TestLoader() - test_suite = test_loader.discover('.', pattern='test_*.py') + test_suite = test_loader.discover(os.path.dirname(__file__), + pattern='test_*.py') return test_suite |