'Invalid HTTP Accept headers should return HTTP 400'

def test_get_resource_invalid_accept(self):

    response = self.client.get('/api/v1/notes/', HTTP_ACCEPT='invalid')
    self.assertEqual(response.status_code, 400, 'Invalid    HTTP    Accept    headers    should    return    HTTP    400')
