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

Function test_dry_run

tests/test_main.py:6–19  ·  view source on GitHub ↗
(tmp_path)

Source from the content-addressed store, hash-verified

4
5
6def test_dry_run(tmp_path):
7 inputfile = dedent(
8 """
9 name: test_schema_validation
10 version: 1.0.0
11 installer_type: all
12 channels:
13 - https://repo.anaconda.com/pkgs/main/
14 specs:
15 - ca-certificates
16 """
17 )
18 (tmp_path / "construct.yaml").write_text(inputfile)
19 main([str(tmp_path), "--dry-run"])

Callers

nothing calls this directly

Calls 1

mainFunction · 0.90

Tested by

no test coverage detected