Commit baca528
authored
MPT-18902 E2E API client exception with the seller tests (#224)
https://softwareone.atlassian.net/wiki/spaces/mpt/pages/5243175002/Seller+Object
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
Closes [MPT-18902](https://softwareone.atlassian.net/browse/MPT-18902)
- tests/e2e/accounts/conftest.py: currencies fixture now returns a list
of currency objects (dicts with keys value, billingEnabled, isDefault)
instead of a simple list of strings.
- tests/e2e/accounts/sellers/conftest.py: seller_factory's inner _seller
sets the seller dictionary key "currency" (singular) to the provided
currencies value; the factory parameter remains named currencies but the
returned data shape changed from a "currencies" key to "currency"
containing the structured list.
- No changes to fixture names or function signatures; only the returned
data structures were modified.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
[MPT-18902]:
https://softwareone.atlassian.net/browse/MPT-18902?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ2 files changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
27 | 30 | | |
28 | 31 | | |
29 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
0 commit comments