https://prefect.io logo
Title
a

ale

10/08/2020, 4:23 PM
Hi folks, I’m currently working on improving S3List to support
last_modified_start
and
last_modified_end
to leverage the
last_modified
property of keys, to make it possible to filter keys based on time. I’m struggling to find a way to mock boto3 put_object to write a meaningful test. Any suggestions?
d

Dylan

10/08/2020, 7:13 PM
Hey @ale! Thanks for contributing! Do you mean beyond
MagicMock
basically?
Like a supported boto3 mock?
a

ale

10/08/2020, 7:29 PM
Exactly!
d

Dylan

10/08/2020, 7:32 PM
hmmm
a

ale

10/08/2020, 8:44 PM
Will take a look, thanks @Dylan!