Re: Hello ! I'm having some issues in django unit testing. Is there anybody to help ?

2020-11-06 Thread Monaco investment
:59 PM To: Django users Subject: Hello ! I'm having some issues in django unit testing. Is there anybody to help ? Hello ! I'm having some issues in django unit testing. Is there anybody to help ? I'm having confusion in testing django mixins . Can anyone share his/her git with

Hello ! I'm having some issues in django unit testing. Is there anybody to help ?

2020-11-06 Thread Nilima Dahal
Hello ! I'm having some issues in django unit testing. Is there anybody to help ? I'm having confusion in testing django mixins . Can anyone share his/her git with such unit testing or have some experienced shareable codes. how do I test this ? def dispatch(self,request,*arg

Re: Django unit testing and pk's changing

2018-10-24 Thread David
The issue was my using incorrect def get_absolute_url's in my model My error. On Wednesday, 24 October 2018 12:24:07 UTC+1, David wrote: > > Hi > > When I run tests on my app they run through fine. > > When I run tests just using "manage.py test" the app mentioned above > contains failures.

Django unit testing and pk's changing

2018-10-24 Thread David
Hi When I run tests on my app they run through fine. When I run tests just using "manage.py test" the app mentioned above contains failures. Example code: def test_lumpsum_get_absolute_url(self): lumpsum = LumpSum.objects.get() self.assertEquals(lumpsum.get_absolute_url(),

Django --Unit testing view functions

2010-09-06 Thread girish shabadimath
hi,,, anybody help me with testing django views,,, * wat all things need to be tested for view functions..? * little bit confused about d usage of these two-- self.failUnlessEquals(XXX, XXX) and self.assertEquals(XXX, XXX) both seems to be same for me,, * any related books or links is appreciat

Re: Problem with django unit testing

2008-03-31 Thread [EMAIL PROTECTED]
Firstly, thanks for your suggestions! I change the apps and class name then turn on the verbosity mode to test, but I can't see nothing abnormal output. Today I run the same unit test of this project on another computer and they all passed, so I think there are some problem with my development en

Re: Problem with django unit testing

2008-03-30 Thread Russell Keith-Magee
On Sat, Mar 29, 2008 at 11:00 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > but when I run unit test to test the failed function use: > $ ./manage.py test apps.test.test_template > there will be ok: > """ > . > ---

Re: Problem with django unit testing

2008-03-30 Thread Kenneth Gonsalves
On 30-Mar-08, at 1:31 PM, [EMAIL PROTECTED] wrote: > Any one who can help me? Thank you so much! be patient - it is a weekend ;-) -- regards kg http://lawgon.livejournal.com http://nrcfosshelpline.in/code/ --~--~-~--~~~---~--~~ You received this message be

Re: Problem with django unit testing

2008-03-30 Thread [EMAIL PROTECTED]
Any one who can help me? Thank you so much! On Mar 29, 11:00 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi, all, > > I meet a strangely problem on django unittesting. I use django svn > version, the test code like this: > > """ > from djan

Problem with django unit testing

2008-03-29 Thread [EMAIL PROTECTED]
Hi, all, I meet a strangely problem on django unit testing. I use django svn version, the test code like this: """"""""""""""""""""""""""""""&qu

Re: XML-RPC call for django unit testing

2007-03-30 Thread Russell Keith-Magee
On 3/29/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi > I 'm trying to test django app using built-in django unit > testing. Some of it make a call to xml-rpc server using xmlrpclib. > Now, I use django testing framework and can run unit testing excep

XML-RPC call for django unit testing

2007-03-29 Thread meledictas
Hi I 'm trying to test django app using built-in django unit testing. Some of it make a call to xml-rpc server using xmlrpclib. Now, I use django testing framework and can run unit testing except that I can't enable in-process xml-rpc server. My idea is, create xml-rpc server

How to use xmlrpclib Server with django unit testing

2007-03-27 Thread meledictas
I have tested using xmlrpclib and got connection refused. Thank --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscrib

Django Unit Testing

2005-10-09 Thread Ian Maurer
I have created a simple write-up on how I am preparing my Django unit tests to leverage sqlite's in-memory database: http://itmaurer.com/blog/?p=2 Comments and suggestions welcome... ian