Skip to content

Instantly share code, notes, and snippets.

@notmyname
Created April 17, 2014 15:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save notmyname/27f434fb9b94f438f7cf to your computer and use it in GitHub Desktop.
Save notmyname/27f434fb9b94f438f7cf to your computer and use it in GitHub Desktop.
@mock.patch('eventlet.green.urllib2.urlopen')
@mock.patch('eventlet.green.urllib2.Request')
def test_get_with_retries(self, request, urlopen):
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment