Projeto do Agent Contas ORACLE
This commit is contained in:
11
tests/migration/test_framework_zero_legacy.py
Normal file
11
tests/migration/test_framework_zero_legacy.py
Normal file
@@ -0,0 +1,11 @@
|
||||
from pathlib import Path
|
||||
|
||||
|
||||
def test_framework_source_has_zero_legacy_namespace_references():
|
||||
root = Path(__file__).resolve().parents[2] / "agent_framework_oci" / "libs" / "agent_framework" / "src" / "agent_framework"
|
||||
offenders = []
|
||||
for path in root.rglob("*.py"):
|
||||
text = path.read_text(encoding="utf-8")
|
||||
if "agente_contas_tim" in text:
|
||||
offenders.append(str(path.relative_to(root)))
|
||||
assert offenders == []
|
||||
Reference in New Issue
Block a user