Skip to content

Conversation

@auvipy
Copy link
Collaborator

@auvipy auvipy commented Mar 9, 2017

No description provided.

content_type='application/json'
)
self.assertEqual(response.status_code, 200, response.content)
self.assertEqual(response.data, {"flag": True})
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how this should be formatted?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Third arg there is for an optional msg according to docs. I think we can just drop it. I don't think we do that anywhere else.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dropped 3rd arg

@lovelydinosaur lovelydinosaur merged commit baea07c into encode:master Mar 10, 2017
@lovelydinosaur lovelydinosaur added this to the 3.6.2 Release milestone Mar 10, 2017
@auvipy auvipy deleted the test branch March 10, 2017 09:00
Copy link
Contributor

@adamchainz adamchainz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@auvipy are you doing this with unittest2pytest ? https://github.com/pytest-dev/unittest2pytest

@auvipy
Copy link
Collaborator Author

auvipy commented Mar 23, 2017

no but I think I will use it next

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants