Skip to content

Fix 2 pre-existing test failures in test_tools.py#49

Merged
agarg5 merged 2 commits intomainfrom
feature/fix-test-failures
Feb 28, 2026
Merged

Fix 2 pre-existing test failures in test_tools.py#49
agarg5 merged 2 commits intomainfrom
feature/fix-test-failures

Conversation

@agarg5
Copy link
Owner

@agarg5 agarg5 commented Feb 26, 2026

Summary

  • Removed incorrect assertion for internal ID tx-1 in test_transaction_history_success — the transaction tool intentionally omits internal IDs from its Markdown table output
  • Fixed test_risk_assessment_success mock data: changed EUR Exposure from isActive: False to isActive: True, value: False so it generates a WARN status, matching the test's assertion for both PASS and WARN

Test plan

  • All 26 tests in test_tools.py pass (0 failures)

🤖 Generated with Claude Code

Abhi and others added 2 commits February 26, 2026 12:13
- Remove assertion for internal ID "tx-1" in test_transaction_history_success
  since the transaction tool intentionally omits IDs from its Markdown output
- Fix test_risk_assessment_success mock: change EUR Exposure to isActive=True
  with value=False so it generates a WARN status alongside the PASS

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Resolve conflict in test_risk_assessment_success: keep xRay.categories
format from main (NAS-231) instead of old rules format.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@agarg5 agarg5 merged commit aebfae9 into main Feb 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant