(tmp_path)
| 4 | |
| 5 | |
| 6 | def 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"]) |