diff options
author | Lance Stout <lancestout@gmail.com> | 2011-08-25 00:21:53 -0700 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2011-08-25 00:21:53 -0700 |
commit | 82546d776da812065d234fcd785db067dc374592 (patch) | |
tree | 59c8325c70fc5c5458ff0558ca74978ebbcf2da5 /testall.py | |
parent | 84f9505a8d23a21005ea72a040e955124dd3c240 (diff) | |
download | slixmpp-82546d776da812065d234fcd785db067dc374592.tar.gz slixmpp-82546d776da812065d234fcd785db067dc374592.tar.bz2 slixmpp-82546d776da812065d234fcd785db067dc374592.tar.xz slixmpp-82546d776da812065d234fcd785db067dc374592.zip |
Fix tests in Python3.
Diffstat (limited to 'testall.py')
-rwxr-xr-x | testall.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -7,7 +7,7 @@ import unittest import distutils.core from glob import glob -from os.path import splitext, basename, join as pjoin, walk +from os.path import splitext, basename, join as pjoin def run_tests(): @@ -18,7 +18,7 @@ def run_tests(): """ testfiles = ['tests.test_overall'] exclude = ['__init__.py', 'test_overall.py'] - for t in glob(pjoin('.', 'tests', '*.py')): + for t in glob(pjoin('tests', '*.py')): if True not in [t.endswith(ex) for ex in exclude]: if basename(t).startswith('test_'): testfiles.append('tests.%s' % splitext(basename(t))[0]) |