MCPcopy Create free account
hub / github.com/pytest-dev/pytest / makeini

Method makeini

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

Write a tox.ini file with 'source' as contents.

(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 with 'source' as contents."""
838 return self.makefile(".ini", tox=source)
839
840 def getinicfg(self, source: str) -> SectionWrapper:
841 """Return the pytest section from the tox.ini config file."""

Callers 15

getinicfgMethod · 0.95
test_headerMethod · 0.45
test_no_headerMethod · 0.45
test_countMethod · 0.45
test_verbose_countMethod · 0.45

Calls 1

makefileMethod · 0.95

Tested by

no test coverage detected