django-whatever icon indicating copy to clipboard operation
django-whatever copied to clipboard

Make set_seed a well_behaved decorator

Open jsatt opened this issue 12 years ago • 2 comments

The set_seed decorator was returning a function with a name of "_wrapper" instead of the name of the function it was decorating. This caused tests to not be run under the Django Nose test runner since nose requires test names to contain "test".

jsatt avatar May 10 '12 16:05 jsatt

I like the idea of fixing Nose runner. Due to our coding style differences it might take some time to manually merge the changes. Imho UUID support shouldn't be included, because it's custom field and obviously we can't support every non-standard field. Might be in contrib, however. Thnx for you pull request, though.

coagulant avatar Jun 04 '12 15:06 coagulant

This pull request fails (merged 8cd41cb8 into 30d966af).

travisbot avatar Jul 18 '12 18:07 travisbot