Repository navigation
Commit 4b7dd7e
committed
test: stop test_init_from_env_vars leaking OSW_CRED_FILEPATH
- use monkeypatch.setenv so OSW_CRED_FILEPATH and OSW_DOMAIN are restored
- the test unlinks its credential file, so the leaked path pointed every
later test at a missing file
- surfaced by the mcp de-isolation: tests/integration/test_mcp_server.py
no longer skips for a missing SDK, so it hit the polluted environment1 parent 4a933af commit 4b7dd7e
1 file changed
Lines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | 25 | | |
27 | 26 | | |
28 | 27 | | |
| |||
102 | 101 | | |
103 | 102 | | |
104 | 103 | | |
105 | | - | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
106 | 107 | | |
107 | | - | |
| 108 | + | |
108 | 109 | | |
109 | | - | |
| 110 | + | |
110 | 111 | | |
111 | 112 | | |
112 | 113 | | |
| |||
0 commit comments