ArtesiaWater / hydropandas

Module for loading observation data into custom DataFrames
https://hydropandas.readthedocs.io
MIT License
52 stars 11 forks source link

Separate API calls from reading logic for testing #183

Open dbrakenhoff opened 8 months ago

dbrakenhoff commented 8 months ago

Our tests often fail because APIs are unavailable because of maintenance, changes in its call signature or just tired from dealing with our requests. This is annoying, so we would ideally change our testing to split the reading of data from the testing of the API call.

Basic idea: