MCPcopy
hub / github.com/pytest-dev/pytest / test_no_funcargs

Method test_no_funcargs

testing/python/metafunc.py:64–70  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

62 return python.Metafunc(definition, fixtureinfo, config, _ispytest=True)
63
64 def test_no_funcargs(self) -> None:
65 def function():
66 pass
67
68 metafunc = self.Metafunc(function)
69 assert not metafunc.fixturenames
70 repr(metafunc._calls)
71
72 def test_function_basic(self) -> None:
73 def func(arg1, arg2="qwe"):

Callers

nothing calls this directly

Calls 1

MetafuncMethod · 0.95

Tested by

no test coverage detected