TE-2689 Remove useless pylint suppressions part 3
This commit is contained in:
@@ -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/')
|
||||
|
||||
Reference in New Issue
Block a user