Closed dannymandel closed 1 year ago
We should write unit tests for ModelServerClient using https://docs.python.org/3/library/unittest.mock.html
ModelServerClient
e.g.
with patch.object(ModelServerClient, "make_smithsonian_sampled_feature_request", return_value="foo"):
just stub out the Requests call to return canned data.
Requests
This is done.
We should write unit tests for
ModelServerClient
using https://docs.python.org/3/library/unittest.mock.htmle.g.
just stub out the
Requests
call to return canned data.