refactor: unify impl operation gates and correction verification
This commit is contained in:
@@ -7,6 +7,7 @@ import subprocess
|
||||
import tempfile
|
||||
import unittest
|
||||
from pathlib import Path
|
||||
from harness.tests.common.impl_contract_docs import read_contract
|
||||
|
||||
ROOT = Path(__file__).resolve().parents[3]
|
||||
POLICY = ROOT / "harness/operations/repository-cache.md"
|
||||
@@ -38,7 +39,7 @@ class GitCredentialRecipeTests(unittest.TestCase):
|
||||
self.assertIn(required, section)
|
||||
policy = POLICY.read_text(encoding="utf-8")
|
||||
self.assertIn("Lock 파일과 임시 credential helper는 실행 role 소유와 mode `0600`을 요구한다", policy)
|
||||
delivery = REWORK.read_text(encoding="utf-8").split("### 7. 기존 PR branch 전달", 1)[1].split("###", 1)[0]
|
||||
delivery = read_contract(REWORK).split("### 7. 기존 PR branch 전달", 1)[1].split("###", 1)[0]
|
||||
self.assertIn("#non-file-git-credential-helper", delivery)
|
||||
self.assertNotIn("필요한 temporary askpass helper", delivery)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user