Fix tests for python 3

This commit is contained in:
Fabien Benureau 2015-12-20 19:26:33 +01:00
parent 69dc3a1690
commit 220e5ad9a8
2 changed files with 5 additions and 1 deletions

View File

@ -9,4 +9,4 @@ install:
- "pip install pyfakefs"
- "python setup.py install"
# command to run tests
script: nosetests
script: python -m unittest discover

View File

@ -0,0 +1,4 @@
import sys, os
this_dir = os.path.dirname(os.path.abspath(__file__))
sys.path.insert(0, this_dir)