equinor / fmu-tools

fmu-tools is a library containing tools for pre- and post-processing in a Fast Model Update (FMU) context
https://equinor.github.io/fmu-tools/
GNU Lesser General Public License v3.0
10 stars 14 forks source link

WRT to testing: Replace function in `_common.py` with monkeypatch solution #212

Open jcrivenaes opened 5 months ago

jcrivenaes commented 5 months ago

confer: https://github.com/equinor/fmu-tools/blob/b3db900208eafd90b19f826a7ea8e267d4046e08/src/fmu/tools/_common.py#L57

See if a monkeypatch.chdir will be a better approach in the tests.