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
|
|
|
#
|
2018-05-24 00:12:04 +08:00
|
|
|
|
|
|
|
|
2010-10-11 19:38:16 +08:00
|
|
|
def test_function():
|
|
|
|
pass
|
|
|
|
|
2018-05-23 22:48:46 +08:00
|
|
|
|
2017-02-17 02:41:51 +08:00
|
|
|
class TestClass(object):
|
2018-05-23 22:48:46 +08:00
|
|
|
|
2010-10-12 16:59:04 +08:00
|
|
|
def test_method(self):
|
2010-10-11 19:38:16 +08:00
|
|
|
pass
|
2018-05-23 22:48:46 +08:00
|
|
|
|
2010-10-12 16:59:04 +08:00
|
|
|
def test_anothermethod(self):
|
2010-10-11 19:38:16 +08:00
|
|
|
pass
|