--- you can reply above this line --- New issue 191: Support for unittests TestCase.runTest syntax https://bitbucket.org/hpk42/pytest/issue/191/support-for-unittests-testcaseruntest
Anonymous: I'm currently maintaining a collection of unittest.TestCases with most of them containing runTest methods. This syntax seems unfortunately to be unsupported by py.test. Subclassing from TestCase and extending this class with some redirect from TestSubclass.test_run to TestSubclass.runTest to provide compatibility, is possible, but can require some rewrites. Monkeypatching of TestCase with such a function within a generated runtests script seems to work, but is also not the prettiest solution. It would really be nice, if this quite usual syntax of unittest would also be supported out of the box. -- This is an issue notification from bitbucket.org. You are receiving this either because you are the owner of the issue, or you are following the issue. _______________________________________________ py-dev mailing list py-dev@codespeak.net http://codespeak.net/mailman/listinfo/py-dev