Skip to content

Conversation

@privateip
Copy link
Member

  • Replace assert statements in platform.py authentication methods with IpsdkError exceptions
  • Replace assert statements in gateway.py authentication methods with IpsdkError exceptions
  • Update test expectations to expect IpsdkError instead of AssertionError
  • Add descriptive error messages for missing authentication credentials
  • Ensure validation cannot be disabled with Python -O flag

- Replace assert statements in platform.py authentication methods with IpsdkError exceptions
- Replace assert statements in gateway.py authentication methods with IpsdkError exceptions
- Update test expectations to expect IpsdkError instead of AssertionError
- Add descriptive error messages for missing authentication credentials
- Ensure validation cannot be disabled with Python -O flag
@privateip privateip requested a review from a team as a code owner December 12, 2025 04:19
@privateip privateip merged commit 31504ac into itential:devel Dec 12, 2025
4 checks passed
@privateip privateip deleted the refactor-asserts branch December 12, 2025 04:23
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