Commit 4aa1a7b
committed
fix: resolve 4 CI failures in PR prebid#1482
- Remove unused type: ignore[attr-defined] on adcp.types import in
creative_agent_registry.py (types are exported in adcp 5.7.0)
- Widen media_buy_brand param in _sync_creatives_impl to accept
dict[str,Any] | BrandReference | None (fixes mypy arg-type error
at creative_helpers.py:605 where brand_dict is always a plain dict)
- Update BEHAVIORAL_MOCK_CONSTRUCTION_CAP for
tests/unit/test_create_media_buy_behavioral.py from 26 to 46
(PR added TestMediaBuyBrandPropagation with 20 new mock constructions)
- Add media_buy_brand=ANY to assert_called_once_with in
test_inline_creatives_uploaded_and_assigned (call site now passes
media_buy_brand=req.brand as a kwarg)1 parent 218c37d commit 4aa1a7b
4 files changed
Lines changed: 4 additions & 4 deletions
File tree
- src/core
- tools/creatives
- tests
- integration
- unit
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1196 | 1196 | | |
1197 | 1197 | | |
1198 | 1198 | | |
1199 | | - | |
| 1199 | + | |
1200 | 1200 | | |
1201 | 1201 | | |
1202 | 1202 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
0 commit comments