'Test index page with login at /knowledge/category/delete/<knowledgeCategory_id>'

def test_knowledge_category_delete(self):

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