wolever/nose-parameterized — pull request #17 by toumorokoshi (2014-10-02 00:09:36+00:00)
Title: Wrapping the standalone functions with functools.wraps

Hi,

we use nose-parameterized a bit, and we also do some stuff where we add attributes to the functions that we pass into nose.

Unfortunately, the parameterized.expand method doesn't wrap the function, it just generates a lambda and gives it the correct name. Is it possible to have it use functools.wraps instead? That makes sure that attributes are passed through to child functions as well.

If this is ok, I'd like to add a test for this as well, but the testing process isn't clear to me. Can you point me to what I should do to add a regular unit test? Do I just use add a method to test.py?

Thanks!