'Test page with login at /sales/source/delete/'

def test_source_delete(self):

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