Re: unit test:AssertionError: False is not true

2014-06-23 Thread Kimitaka Nakazawa
Hi Russ, Thank you very much for your advice.  I’ll look into debugging and see how to resolve it:) Many thanks, Kim On 2014年6月23日 at 11:54:39, Russell Keith-Magee (russ...@keith-magee.com) wrote: Hi Kim, It seems to me that the error messages you're getting are pretty clear - you're asserti

Re: unit test: AssertionError: 302 != 200

2014-06-21 Thread Kimitaka Nakazawa
Thanks, Marco! It solved the question. Kim On 2014年6月21日 at 17:05:45, marcowahls...@gmail.com (marcowahls...@gmail.com) wrote: Kim writes: > I'm new to Django and am running a test. > > For my admintest in tests.py, I have the following: > -- > class AdminTest(LiveServe

Re: Running a test from other folder using manage.py

2014-06-09 Thread Kimitaka Nakazawa
Hi Jimish, Thank you for the advice. I figured that $ python manage.py test.views worked for me:) Kind regards, Kim On Mon, Jun 9, 2014 at 1:11 PM, Jimish Parekh wrote: > Hi, > Try running > python manage.py test lists.tests > > and see if tests are running or not. > > Thanks, > > > On Sunda

Re: HELP on unittest.loader.ModuleImportFailure

2014-06-09 Thread Kimitaka Nakazawa
Thank you again for your advice! It worked:) Kim On Mon, Jun 9, 2014 at 1:42 PM, Kelvin Wong wrote: > Open this file > > /Users/kim/Desktop/Python/python3/superlists/lists/tests.py > > On line 3 change > > from superlists.lists.views import home_page > > to > > from lists.views import home_pag

Re: HELP on unittest.loader.ModuleImportFailure

2014-06-08 Thread Kimitaka Nakazawa
Thank you very much for the reply! Going through your suggestion below, at ">>> from lists.tests import *” part, I got an error which is below.  Traceback (most recent call last):   File "", line 1, in   File "/Users/kim/Desktop/Python/python3/superlists/lists/tests.py", line 3, in     from sup

Re: HELP on unittest.loader.ModuleImportFailure

2014-06-08 Thread Kimitaka Nakazawa
Hi Kelvin, Thank you very much for your reply! I tried your codes above but I still get the same error... Kind regards, Kim On Mon, Jun 9, 2014 at 3:33 AM, Kelvin Wong wrote: > You need to be in the first superlists directory. You have a db created so > you must have run syncdb at some point.