Commit 307b4ec
committed
test(providers): relocate provider-base scaffolding tests into unit leg
#287 added scaffolding/exceptions/strategy tests under tests/providers/base/,
but the providers CI leg only runs discovered provider subtrees (aws, k8s via
testconf.mk) and the unit leg runs tests/unit — so tests/providers/base ran in
NO CI leg. Move them into tests/unit/providers/base/ so the unit leg executes
them. Also replace the deprecated asyncio.get_event_loop().run_until_complete()
with asyncio.run() in the handler-base tests — get_event_loop() raises under
Python 3.12 once another test has closed the global loop, which surfaced as
order-dependent failures now that these run in the shared unit leg.1 parent 5504c78 commit 307b4ec
8 files changed
Lines changed: 7 additions & 7 deletions
File tree
- tests
- providers/base
- scaffolding
- strategy
- unit/providers/base
- exceptions
- scaffolding
- strategy
Whitespace-only changes.
Whitespace-only changes.
File renamed without changes.
File renamed without changes.
Lines changed: 7 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
123 | | - | |
| 123 | + | |
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
133 | | - | |
| 133 | + | |
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
146 | | - | |
| 146 | + | |
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
| |||
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
181 | | - | |
| 181 | + | |
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
| |||
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
191 | | - | |
| 191 | + | |
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
196 | | - | |
| 196 | + | |
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
202 | | - | |
| 202 | + | |
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
| |||
0 commit comments