Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

awswrangler doesn't work with moto #109

Closed
vincentclaes opened this issue Jan 15, 2020 · 5 comments
Closed

awswrangler doesn't work with moto #109

vincentclaes opened this issue Jan 15, 2020 · 5 comments
Assignees
Labels
enhancement New feature or request

Comments

@vincentclaes
Copy link

vincentclaes commented Jan 15, 2020

moto is a popular library to mock aws services.
all the calls that happen via boto3 are mocked by moto so that you can test locally without any connection to real aws infrastructure.

when I write parquet files to s3 in my tests, it works without any error. but when i want to do assertions on the objects i have written to S3, none can be found.

any idea how this can happen? i assume awswrangler uses boto3 to communicate with s3?

@igorborgest igorborgest added the enhancement New feature or request label Jan 15, 2020
igorborgest added a commit that referenced this issue Apr 15, 2020
@igorborgest igorborgest self-assigned this Apr 15, 2020
igorborgest added a commit that referenced this issue Apr 15, 2020
Add first tests with moto #109
@igorborgest
Copy link
Contributor

Thank you for reaching out @vincentclaes!

Starting on version 1.0.0 Wrangler can run on moto with functionalities related with Amazon S3 and Amazon EMR (partially).

I also added some test cases for Wrangler to ensure that the moto compatibility will be kept. (PR above).

@lu-liu-rft
Copy link

Thank you for reaching out @vincentclaes!

Starting on version 1.0.0 Wrangler can run on moto with functionalities related with Amazon S3 and Amazon EMR (partially).

I also added some test cases for Wrangler to ensure that the moto compatibility will be kept. (PR above).

Hi the link for 'test cases' is invalid, could you take a look please? Thanks.

@jaidisido
Copy link
Contributor

@lu-liu-rft
Copy link

@nareshNishad
Copy link

I tried to use some of the example specified in the link but they all goes to internet not testing them locally. Is there any way to test them locally, without hitting actual AWS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants