ColinMaudry / puddle

Command line tool and python libraries to manage datasets
Other
0 stars 0 forks source link

Mocking remote data files for tests #5

Open ColinMaudry opened 2 years ago

ColinMaudry commented 2 years ago

I could use Localstack to mock S3.

Ideally I would like to mock a remote HTTP server.

ColinMaudry commented 2 years ago

This one is quite simple https://pypi.org/project/pytest-mock-server/.

I could probably use it to return test data added to the repo.

ColinMaudry commented 2 years ago

This one too: https://requests-mock.readthedocs.io/en/latest/response.html