Commit e928698
Mock get_cluster_custom_object in existing httproute test
The GatewayConfig fallback code calls get_cluster_custom_object,
which was previously unmocked in the "no hostname" test cases.
On CI, the unmocked call could return stale data instead of
raising, causing the test to get a URL when it expected None.1 parent f1e50e0 commit e928698
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1228 | 1228 | | |
1229 | 1229 | | |
1230 | 1230 | | |
| 1231 | + | |
| 1232 | + | |
| 1233 | + | |
| 1234 | + | |
1231 | 1235 | | |
1232 | 1236 | | |
1233 | 1237 | | |
| |||
0 commit comments