Created
December 10, 2017 20:30
-
-
Save umutcoskun/619b2a2e746095af8de64fc7776b9acc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@benchmark | |
def test_response_status_is_200(): | |
from urllib import request | |
response = request.urlopen( | |
request.Request('https://httpbin.org/status/200', | |
method='HEAD') | |
) | |
assert response.status == 200 | |
test_response_status_is_200() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment