bcgov / FIT_changedetector

Compare two sets of geodata, reporting on various types of differences
Apache License 2.0
2 stars 0 forks source link

test for arcgis dependent portion of script #35

Open smnorris opened 17 hours ago

smnorris commented 17 hours ago

To catch issues like #34 somewhat automatically, add tests that check arcgis.py

Depends on an ESRI licence, but pytest has methods for skipping tests on given platforms https://docs.pytest.org/en/stable/how-to/skipping.html

smnorris commented 17 hours ago

Not immediately sure how to handle passing automated test data to arcpy.GetParameter(), so I'll put this to the side for now - there is very little to be tested in this script beyond the gdb/shp detection