aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorElvis Pranskevichus <elvis@magic.io>2018-03-30 23:09:00 -0400
committerElvis Pranskevichus <elvis@magic.io>2018-03-31 01:11:02 -0400
commitc5a649e2aecc3e968aba32e64ba2f45167d2ef94 (patch)
tree1ac30289d71c36b68e5b01baf3e79fed9718aeb2 /tests
parenta1b19e1d10896f3ac2ce0b97c2bf24e0c1c4520f (diff)
downloadimmutables-c5a649e2aecc3e968aba32e64ba2f45167d2ef94.tar.gz
immutables-c5a649e2aecc3e968aba32e64ba2f45167d2ef94.zip
immutables v0.2v0.2
Diffstat (limited to 'tests')
-rw-r--r--tests/__init__.py4
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