Skip to content

Instantly share code, notes, and snippets.

@ricardochaves
Last active July 22, 2018 00:11
Show Gist options
  • Save ricardochaves/0d5ab2acbb0c02c6b48a5ebe9b9091bc to your computer and use it in GitHub Desktop.
Save ricardochaves/0d5ab2acbb0c02c6b48a5ebe9b9091bc to your computer and use it in GitHub Desktop.
exemple_integration_test
expected_result = {
"name": "Ricardo",
"image": "https://www.ricardobaltazar.com/static/principal/images/profilepic-new.jpg",
"age": 37,
"birth_date": "1981-06-21T12:42:31+00:32"
}
result = client.get("/user/info")
self.assertDictEqual(result.json, expected_result)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment