Last active
August 29, 2015 14:14
-
-
Save ionrock/17ff500ba151882448b2 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() == data |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment