11 lines
417 B
Python
11 lines
417 B
Python
import subprocess
|
|
from pathlib import Path
|
|
|
|
ROOT = Path(__file__).parents[1]
|
|
def test_artifact_validator():
|
|
result = subprocess.run(["python3", "scripts/validate_artifacts.py"], cwd=ROOT, capture_output=True, text=True)
|
|
assert result.returncode == 0, result.stdout + result.stderr
|
|
|
|
def test_no_secret_values():
|
|
assert "replace-with-project-id" in (ROOT / "terraform/terraform.tfvars.example").read_text()
|