'Test page with login at /contacts/type/delete/(?P<type_id>\d+)'

def test_contact_type_delete(self):

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