MCPcopy Create free account
hub / github.com/conda/constructor / test_payload_pyproject_toml

Function test_payload_pyproject_toml

tests/test_briefcase.py:261–267  ·  view source on GitHub ↗

Test that the pyproject.toml file is created when the payload is prepared.

()

Source from the content-addressed store, hash-verified

259
260@pytest.mark.skipif(sys.platform != "win32", reason="Windows only")
261def test_payload_pyproject_toml():
262 """Test that the pyproject.toml file is created when the payload is prepared."""
263 info = mock_info.copy()
264 payload = Payload(info)
265 payload.prepare()
266 pyproject_toml = payload.root / "pyproject.toml"
267 assert pyproject_toml.is_file()
268
269
270@pytest.mark.skipif(sys.platform != "win32", reason="Windows only")

Callers

nothing calls this directly

Calls 2

prepareMethod · 0.95
PayloadClass · 0.90

Tested by

no test coverage detected