Permalink
Browse files

Catch files that match on both sides

  • Loading branch information...
1 parent 9fb58b7 commit c0e9db172267753e0426250dfbfe818f93225230 @dcramer committed Oct 23, 2012
Showing with 3 additions and 1 deletion.
  1. +2 −0 quickunit/plugin.py
  2. +1 −1 setup.py
View
@@ -184,5 +184,7 @@ def wantMethod(self, method):
# if the filename is /foo/tests.py and pending is /foo, run it
if pending.startswith(filepath):
return True
+ elif filepath.startswith(pending):
+ return True
return False
View
@@ -7,7 +7,7 @@
setup(
name='nose-quickunit',
- version='0.5.0',
+ version='0.5.1',
author='David Cramer',
author_email='dcramer@gmail.com',
description='A discovery plugin for Nose which relies on sane structure.',

0 comments on commit c0e9db1

Please sign in to comment.