def test_infrastructure_type_delete(self):
        response = self.client.post('/accounts/login',
                                    {'username': self.username, 'password': self.password})
        self.assertRedirects(response, '/')
        response = self.client.get(
            reverse('infrastructure_type_delete', args=[self.type.id]))
        self.assertEquals(response.status_code, 200)

    # Field
Determine the socket with which to connect.
dataset/ETHPy150Open treeio/treeio/treeio/infrastructure/tests.py/InfrastructureViewsTest.test_infrastructure_type_delete--crossover with--dataset/ETHPy150Open mattfoster/ipython-tmbundle/Support/lib/ipythonClient.py/determine_socket