2010-10-11 19:38:16 +08:00
|
|
|
|
2016-06-21 22:16:57 +08:00
|
|
|
# run this with $ pytest --collect-only test_collectonly.py
|
2010-10-11 19:38:16 +08:00
|
|
|
#
|
|
|
|
def test_function():
|
|
|
|
pass
|
|
|
|
|
|
|
|
class TestClass:
|
2010-10-12 16:59:04 +08:00
|
|
|
def test_method(self):
|
2010-10-11 19:38:16 +08:00
|
|
|
pass
|
2010-10-12 16:59:04 +08:00
|
|
|
def test_anothermethod(self):
|
2010-10-11 19:38:16 +08:00
|
|
|
pass
|