This should work, is /success working in dev server?
zalun
On 10-12-15 03:53, Kenneth Gonsalves wrote:
On Wed, 2010-12-15 at 03:44 -0800, Piotr Zalewa wrote:
It looks like the test can't find the /success/ URL
and then tries to display a 404 error, but there is o 404.html
template
Do you have
On Wed, 2010-12-15 at 17:23 +0530, Kenneth Gonsalves wrote:
> On Wed, 2010-12-15 at 03:44 -0800, Piotr Zalewa wrote:
> > It looks like the test can't find the /success/ URL
> > and then tries to display a 404 error, but there is o 404.html
> > template
> >
> > Do you have 404.html template created
On Wed, 2010-12-15 at 03:44 -0800, Piotr Zalewa wrote:
> It looks like the test can't find the /success/ URL
> and then tries to display a 404 error, but there is o 404.html
> template
>
> Do you have 404.html template created?
no 404 template - but why can it not find the /success/ url? Do I ne
Hi Kenneth,
It looks like the test can't find the /success/ URL
and then tries to display a 404 error, but there is o 404.html template
Do you have 404.html template created?
zalun
On 10-12-15 01:13, Kenneth Gonsalves wrote:
hi,
I am trying to write a test of a view with test client. My test
hi,
I am trying to write a test of a view with test client. My test is like
this:
class Testgetnum(unittest.TestCase):
def setUp(self):
self.client = Client()
def testgetnum(self):
response = self.client.post('/success/',{'id':1})
self.assertEqual(response.status
5 matches
Mail list logo