fix(tests): update test assertions to match refactored function signatures
Some checks failed
CI / test-cli (push) Successful in 11s
CI / test-sqlmesh (push) Successful in 13s
CI / test-web (push) Failing after 11s
CI / tag (push) Has been skipped

- Pass url_template and landing_subdir to extract_cot_year (signature changed to support both COT variants)
- Update secrets test assertion from 'ESC connection successful' to 'SOPS decryption successful'

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Deeman
2026-02-28 01:56:13 +01:00
parent 66d484955d
commit d58fa67238
2 changed files with 3 additions and 3 deletions

View File

@@ -27,7 +27,7 @@ def test_secrets_test_command(mock_secrets):
"""Test secrets test command."""
result = runner.invoke(app, ["secrets", "test"])
assert result.exit_code == 0
assert "ESC connection successful" in result.stdout
assert "SOPS decryption successful" in result.stdout
def test_secrets_list_command(mock_secrets):