test_ok2/doc/en/example/pythoncollection.py

15 lines
201 B
Python

# run this with $ pytest --collect-only test_collectonly.py
#
def test_function():
pass
class TestClass:
def test_method(self):
pass
def test_anothermethod(self):
pass