Created
January 27, 2015 22:52
-
-
Save ionrock/eddbc25321f1ba20d219 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
def test_read_version_three(self, url): | |
original_resp = requests.get(url) | |
# data = original_resp.content | |
req = original_resp.request | |
resp = self.serializer.loads( | |
req, self.serializer.dumps( | |
req, | |
original_resp.raw | |
), | |
) | |
assert resp.read() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment