[TIP] unittest2: change default pattern in discovery

Julien Jehannet julien at smaf.org
Mon Aug 2 05:03:51 PDT 2010


Hello,

I'm just started to take a look into the new plugin branch and my first
attempt waѕ to change the default pattern (test*.py) to collect my test
files.

Should I consider the `matchregex` plugin as the right place to make the
change ?  (if not, what's the best practise here ?)

To fulfill my needs, I added a new `pattern` attribute. If you're
interested, you will find a diff here:

	http://bitbucket.org/juj/unittest2/changeset/6fd45b3077fa


Thanks Michael for your work,
-- 
J u l i e n  J E H A N N E T
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.idyll.org/pipermail/testing-in-python/attachments/20100802/6a61f62c/attachment.pgp>


More information about the testing-in-python mailing list