'POST request to a view that returns a list of objects should
still successfully return the browsable API with a rendered form.
Regression test for https://github.com/encode/django-rest-framework/pull/3164'

def test_post_many_post_view(self):

    data = {}
    request = factory.post('/', data, format='json')
    with self.assertNumQueries(1):
        response = self.view(request).render()
    assert (response.status_code == status.HTTP_200_OK)
    assert (len(response.data) == 3)
