Commit daf9fe4
committed
The test suite keeps its credentials out of the real session store
Every test that unlocks or creates a vault stores a boot-bound credential,
and the session directory defaults to the real ~/.compartment/session - so a
full run left hundreds of dead .session files on the machine of whoever ran
it, which is exactly what this suite promises not to do. One autouse fixture
points the store at the test's own tmp directory; the tests that are about
the store already choose their own and still win.1 parent 99b8fd3 commit daf9fe4
1 file changed
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
34 | 48 | | |
35 | 49 | | |
36 | 50 | | |
| |||
0 commit comments