Minor adjustments pre-v2.3#431
Conversation
sl-at-ibm
commented
Jun 28, 2026
- (following Cédrick) Different errors if the PCU Group ID is outright nonexistent or belongs to a different cloud provider/region (+ specific tests)
- the error raised is not ValueError anymore, rather DevOpsAPIException
- more robust unmarshaling of pcu-related devops api responses (= everything that is not critical is made optional, no errors if fields missing from responses)
as makes sense; changed the exception raised for non-existing pcu group id in create_database.
| ) | ||
| else: | ||
| # is the matching group in the right cloud provider / region? | ||
| expected_cpr = (_definition.cloud_provider, _definition.region) |
There was a problem hiding this comment.
Going back to the whole "aws" vs "AWS" discussion... should this perhaps be a case-insensitive comparison? Or do we want to enforce a strict case sensitive match
erichare
left a comment
There was a problem hiding this comment.
LGTM @sl-at-ibm , one small question regarding case sensitivity but looks great otherwise
| ) | ||
| else: | ||
| # is the matching group in the right cloud provider / region? | ||
| expected_cpr = (_definition.cloud_provider, _definition.region) |
There was a problem hiding this comment.
Same question as up above, basically if this side of the comparison should also be case-normalized as well
There was a problem hiding this comment.
Thanks for spotting those! Fixed.
I will also bundle the bump to 2.3 in this PR and then proceed with releasing. (to lessen the business with getting the CI go green).
Coverage reportfor commit: |
Coverage reportfor commit: |