Applied-GeoSolutions / gips

Geospatial Image Processing System
GNU General Public License v3.0
17 stars 5 forks source link

467 text diffs for system tests #482

Closed ra-tolson closed 6 years ago

ra-tolson commented 6 years ago

This PR is set up to let you see the unique commits on top of the 464 branch. It can be retargetted at dev if we want to merge both 464 & 467 in a snigle PR.

Here you can see the text file expectation maker, which is just a list of strings, which pytest already knows how to compare. Also make the test environment's directory-under-observation be configurable, so some tests can look at an export dir while others look at the data repo. Also run filesystem observation such that the user has a chance to do setup activity that won't be counted as part of the test.

And make t_project and t_stats pass in the new regime (for modis & merra).

ra-tolson commented 6 years ago

The next iteration may make this not worth reviewing, please stand by.