def test_infrastructure_status_view(self):
        response = self.client.post('/accounts/login',
                                    {'username': self.username, 'password': self.password})
        self.assertRedirects(response, '/')
        response = self.client.get(
            reverse('infrastructure_status_view', args=[self.status.id]))
        self.assertEquals(response.status_code, 200)
Tests the NewFileObject function.
dataset/ETHPy150Open treeio/treeio/treeio/infrastructure/tests.py/InfrastructureViewsTest.test_infrastructure_status_view--crossover with--dataset/ETHPy150Open log2timeline/dfvfs/tests/resolver/gzip_resolver_helper.py/GzipResolverHelperTest.testNewFileObject