TE-2689 Remove useless pylint suppressions part 3

This commit is contained in:
Jeremy Bowman
2018-08-15 15:43:10 -04:00
parent 509e0fdf45
commit 68902a2f3f
47 changed files with 65 additions and 89 deletions

View File

@@ -53,14 +53,14 @@ def _context(response):
"""
Get a context dictionary for a serializer appropriate for the given response.
"""
return {'request': response.wsgi_request} # pylint: disable=no-member
return {'request': response.wsgi_request}
def _data(response):
"""
Get the serialized data dictionary from the given REST API test response.
"""
return response.data # pylint: disable=no-member
return response.data
@override_settings(BROKER_URL='memory://localhost/')