Commit 8040ea4
Josh
test: skip integration tests by default, require -m integration to run
Integration tests in test_wal_live_recovery.py need a running server and
fail in CI with 'ModuleNotFoundError: No module named requests' because
the test environment doesn't have requests available in the test Python
path (it's only in the hermes-agent venv). Rather than fixing the
Python path issue, skip these by default with the standard
@pytest.mark.integration marker and a conftest hook that auto-skips them
unless -m integration is passed.1 parent c54bef2 commit 8040ea4
1 file changed
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
| 150 | + | |
150 | 151 | | |
151 | 152 | | |
152 | 153 | | |
| |||
155 | 156 | | |
156 | 157 | | |
157 | 158 | | |
| 159 | + | |
| 160 | + | |
158 | 161 | | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
159 | 172 | | |
160 | 173 | | |
161 | 174 | | |
| |||
0 commit comments