'Testing /infrastructure/type/delete/<type_id>'

def test_infrastructure_type_delete_out(self):

    response = self.client.get(reverse('infrastructure_type_delete', args=[self.type.id]))
    self.assertRedirects(response, reverse('user_login'))
