1 2 3 4 5 6 7 8 9 10 11
# run this with $ py.test --collect-only test_collectonly.py # def test_function(): pass class TestClass: def test_method(self): pass def test_anothermethod(self): pass