Blog

  • I came across this license issue while searching on GitHub. So, I thought I’d give it a shot. I pinged sigmavirus24 in #github3.py seeing if this was a feature I could implement. He gave the thumbs up and I was off. Testing manually first Before any implementation, I always like to get a better understanding…

  • I’ve always been scared of open sourcing, despite wanting to get involved for a long time? Why? For a long time, I’ve programmed in isolation. But, I did enjoy it. Unfortunately, this leaves little (to none) opportunity for feedback and critism. Afraid of rejection? Afraid of not appearing as smart as I think I am…

  • I was getting so frustrated. I knew how to raise the exception with side_effect=. But, how do you mock the exception? try: connection = connect_to_sqs except BotoServerError as m: if m.error_code == “AlreadyExistsException” To get it to work, I inherited the exception class – BotoServerError from boto.exceptions import BotoServerError class MockBotoServerError(BotoServerError): def __init__(self, error_code) self.error_code…