Commit 89f983f
committed
fix: add teardown_sqlalchemy to RunTestBase to prevent stale DB on Windows
RunTestBase.tearDown() was calling shutil.rmtree with ignore_errors=True
but without first releasing the SQLite file lock via teardown_sqlalchemy().
On Windows, this left the database file behind, causing the next test
to find a stale BITVAVO portfolio when expecting BINANCE.1 parent a70fba4 commit 89f983f
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
| |||
105 | 107 | | |
106 | 108 | | |
107 | 109 | | |
| 110 | + | |
108 | 111 | | |
109 | 112 | | |
110 | 113 | | |
| |||
0 commit comments