Is possible to run a funcarg inner of a class? The nex code doesnt works.

--------------------------
class TestFoo(object):

    def pytest_funcarg__myfuncarg(self, request):
        return 13


    def test_function(self, append):
        assert self.myfuncarg == 13
--------------------------


http://codespeak.net/py/dist/test/funcargs.html
_______________________________________________
py-dev mailing list
py-dev@codespeak.net
http://codespeak.net/mailman/listinfo/py-dev

Reply via email to