[py-dev] [hpk42/pytest] Marks don't pick up nested classes (issue #199)

Anonymous issues-reply at bitbucket.org
Fri Oct 5 23:46:30 CEST 2012


--- you can reply above this line ---

New issue 199: Marks don't pick up nested classes
https://bitbucket.org/hpk42/pytest/issue/199/marks-dont-pick-up-nested-classes

Anonymous:

example:

{{{
#!python

@pytest.mark.a
class TestA:
    def test_b(self):
        assert True
    class TestC:
        def test_d(self):
            assert True
}}}

---
{{{
#!bash

$ py.test example.py -m a
}}}
only test_b is run. Not test_d


--

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.



More information about the Pytest-dev mailing list