Commit c81d3f8
authored
Mock server in WFS provider tests (#1534)
* Mock server in WFS provider tests
This commit mocks the layer in WFS tests and prepares return values
required to satisfy the tests. This reduces the test fidelity, but it
makes them stable and increases execution speed (literally 100x on my
machine, 66 sec to 0.6 sec).
Since the return value is mocked, it doesn't make sense to send
different parameters to the server, so some tests became obsolete.
The original tests are still there in another file, but are not supposed
to be run in CI.
* Mention wfs live tests in github CI
* Comment test file where all tests are skipped
pytest considers this to be a failure, but we still want the test file
to be mentioned here1 parent 5accd7f commit c81d3f8
3 files changed
Lines changed: 548 additions & 358 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
| 151 | + | |
151 | 152 | | |
152 | 153 | | |
153 | 154 | | |
| |||
0 commit comments