def test_infrastructure_item_add_out(self):
        response = self.client.get(reverse('infrastructure_item_add'))
        self.assertRedirects(response, reverse('user_login'))
Add the data to the BytesIO file.
dataset/ETHPy150Open treeio/treeio/treeio/infrastructure/tests.py/InfrastructureViewsTest.test_infrastructure_item_add_out--crossover with--dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Django-1.6.10/django/core/files/uploadhandler.py/MemoryFileUploadHandler.receive_data_chunk