diff options
author | Sylvain <syt@logilab.fr> | 2007-04-12 11:01:22 +0200 |
---|---|---|
committer | Sylvain <syt@logilab.fr> | 2007-04-12 11:01:22 +0200 |
commit | 760b048b18ef8a1615bb810c44f9a9789e695c47 (patch) | |
tree | 789ba3ab8c7ddfbdd9b2693fb7c35c6491e8e3c3 /pytest.py | |
parent | 2b195d2a92b7fe433aa95a2e33737a638df3e69c (diff) | |
download | logilab-common-760b048b18ef8a1615bb810c44f9a9789e695c47.tar.gz |
pytest run smoke tests
Diffstat (limited to 'pytest.py')
-rw-r--r-- | pytest.py | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -94,7 +94,9 @@ class GlobalTestReport(object): def this_is_a_testfile(filename): """returns True if `filename` seems to be a test file""" filename = osp.basename(filename) - return ((filename.startswith('unittest') or filename.startswith('test')) + return ((filename.startswith('unittest') + or filename.startswith('test') + or filename.startswith('smoketest')) and filename.endswith('.py')) def testall(exitfirst=False): |