You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a Python package named tests. In there, write a simple test function that will be executed by running pytest tests. For that, it will be necessary to poetry add --dev pytest.
In the test, it is necessary to use boto3 to access the S3 bucket and to use requests to call the API endpoint.
call the /share endpoint with requests to save a file for a random phrase in PNG format onto S3 bucket,
access the file location on S3 via boto3,
and verify that the file exists.
The text was updated successfully, but these errors were encountered:
RomanZorkin
added a commit
to RomanZorkin/geopatterns-demo
that referenced
this issue
Nov 2, 2021
Create a Python package named
tests
. In there, write a simple test function that will be executed by runningpytest tests
. For that, it will be necessary topoetry add --dev pytest
.In the test, it is necessary to use
boto3
to access the S3 bucket and to userequests
to call the API endpoint./share
endpoint withrequests
to save a file for a random phrase in PNG format onto S3 bucket,The text was updated successfully, but these errors were encountered: