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

Method makeini

src/_pytest/pytester.py:836–842  ·  view source on GitHub ↗

Write a tox.ini file. :param source: The contents. :returns: The tox.ini file.

(self, source: str)

Source from the content-addressed store, hash-verified

834 return self.makepyfile(conftest=source)
835
836 def makeini(self, source: str) -> Path:
837 """Write a tox.ini file.
838
839 :param source: The contents.
840 :returns: The tox.ini file.
841 """
842 return self.makefile(".ini", tox=source)
843
844 def maketoml(self, source: str) -> Path:
845 """Write a pytest.toml file.

Callers 15

getinicfgMethod · 0.95
test_headerMethod · 0.45
test_no_headerMethod · 0.45
test_countMethod · 0.45
test_timesMethod · 0.45
test_times_multilineMethod · 0.45
test_verbose_countMethod · 0.45
test_verbose_timesMethod · 0.45

Calls 1

makefileMethod · 0.95

Tested by

no test coverage detected