equinor / xtgeo

XTGeo Python class library for subsurface Surfaces, Cubes, Wells, Grids, Points, etc
https://xtgeo.readthedocs.io/en/latest/
GNU Lesser General Public License v3.0
109 stars 57 forks source link

CLN: Remove testdata logic from userspace #1177

Closed mferrera closed 7 months ago

mferrera commented 7 months ago

Resolves #1093 Resolves #1176

This is a large PR but the changes it makes are uniform and simple:

This also means that XTG_TESTPATH or --testdatapath are fully honored by pytest now.

Grouped this last point in with the rest to make it a single pass over every test rather than two passes.

Ran this in the RMS environment on-prem and it is fine there too.

codecov-commenter commented 7 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (0314127) 80.01% compared to head (9cae908) 80.01%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1177 +/- ## ========================================== - Coverage 80.01% 80.01% -0.01% ========================================== Files 98 98 Lines 13700 13679 -21 Branches 2199 2197 -2 ========================================== - Hits 10962 10945 -17 + Misses 2006 2002 -4 Partials 732 732 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.