Add spatialindex version to tests, add common pytest configuration#360
Add spatialindex version to tests, add common pytest configuration#360mwtoews merged 4 commits intoToblerity:mainfrom
Conversation
|
Wouldn't it make more sense to define this as a reusable fixture in a |
|
Aren't fixtures specific to running pytests? I.e., shouldn't Also, it seems that I don't know how to stop |
|
Yes, fixtures are only compatible with pytest, not unittest. They can be used for anything that needs to be repeated in multiple places. For |
|
I can't see an easy way to leverage fixtures as simple variables (since fixtures are special functions), so will proceed with a simple approach in tests for now. For 1.5.x, both Just noticed that the conda tests were always excluding macos and SIDX 1.8.5, which is fixed to cover these. |
This adds a
commonmodule for the tests, for items that aren't fixtures. So far it gets the libspatialindex version string and tuple.Also establish a pytest configuration.