Skip to content

Instantly share code, notes, and snippets.

😅

Zak Scholl zscholl

😅
View GitHub Profile
@zscholl
zscholl / test_s3.py
Created May 13, 2020
Example Moto unittest
View test_s3.py
import boto3
from moto import mock_s3
from mymodule import MyModel
@mock_s3
def test_my_model_save():
conn = boto3.resource('s3', region_name='us-east-1')
# We need to create the bucket since this is all in Moto's 'virtual' AWS account
conn.create_bucket(Bucket='mybucket')
@zscholl
zscholl / keybase.md
Created Jun 26, 2019
Keybase Verification
View keybase.md

Keybase proof

I hereby claim:

  • I am zscholl on github.
  • I am zscholl (https://keybase.io/zscholl) on keybase.
  • I have a public key ASDulOyYQCpav0EuUjLW-tsRDKUCGjdQTlvkyXzTRlvlwAo

To claim this, I am signing this object:

You can’t perform that action at this time.