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

Method test_nothing

testing/test_config.py:1998–2009  ·  view source on GitHub ↗
(self, tmp_path: Path, monkeypatch: MonkeyPatch)

Source from the content-addressed store, hash-verified

1996 assert inicfg == {}
1997
1998 def test_nothing(self, tmp_path: Path, monkeypatch: MonkeyPatch) -> None:
1999 monkeypatch.chdir(tmp_path)
2000 rootpath, inipath, inicfg, _ = determine_setup(
2001 inifile=None,
2002 override_ini=None,
2003 args=[str(tmp_path)],
2004 rootdir_cmd_arg=None,
2005 invocation_dir=Path.cwd(),
2006 )
2007 assert rootpath == tmp_path
2008 assert inipath is None
2009 assert inicfg == {}
2010
2011 @pytest.mark.parametrize(
2012 "name, contents",

Callers

nothing calls this directly

Calls 2

determine_setupFunction · 0.90
chdirMethod · 0.45

Tested by

no test coverage detected