Repository navigation
Commit cb70050
committed
TST: stop the isolation test from storing one wrapper twice
stochastic_calisto already holds the stochastic_nose_cone fixture, so adding
it again put the test into the state #1172 describes: one wrapper in two
entries, its position overwritten, and two reseeds landing on the same object.
The assertion looked at a different collection and passed anyway. It adds the
deterministic nose now, so add_nose builds a wrapper of its own.
Nothing pinned the body keeping the seed as given either. Reproducibility and
seed uniqueness both hold with the body on a spawned child, so neither would
have noticed it going back there.
Signed-off-by: thc1006 <84045975+thc1006@users.noreply.github.com>1 parent dcc0664 commit cb70050
2 files changed
Lines changed: 17 additions & 2 deletions
File tree
- rocketpy/stochastic
- tests/unit/stochastic
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
179 | | - | |
| 179 | + | |
| 180 | + | |
180 | 181 | | |
181 | 182 | | |
182 | 183 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
167 | | - | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
168 | 170 | | |
169 | 171 | | |
170 | 172 | | |
| |||
235 | 237 | | |
236 | 238 | | |
237 | 239 | | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
0 commit comments