On Tue, Apr 20, 2010 at 4:54 PM, Karen Tracey <kmtra...@gmail.com> wrote:
> On Tue, Apr 20, 2010 at 3:44 PM, Anssi Kaariainen <akaar...@cc.hut.fi>
> wrote:
>>
>> I am trying to run some doc tests, but can't figure out how.
>> Specifically I would like to run the doc tests in regressiontests/
>> forms/widgets.py.
>>
>> Running "./runtests.py --settings=test_sqlite forms" from the tests
>> directory it runs the unit tests (changing them results in failures)
>> but not the doc tests (no failures if changed). I have tried all kinds
>> of combinations like forms.widgets, forms.widgets_tests
>> forms.tests.widgets_tests as the last argument... but I just can't
>> figure out how to run them. So, could someone please help me?
>>
>
> Oops. r12998 apparently broke the running of the forms doctests specified in
> tests.py, that's why you cannot get the widget_tests doctest to run. I've
> fixed this by reverting the r12998 change that caused this.
>
> ./runtests.py --settings=test_sqlite forms.widgets_tests
>
> should now run the tests you are looking to run.
>
> Karen
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django developers" group.
> To post to this group, send email to django-develop...@googlegroups.com.
> To unsubscribe from this group, send email to
> django-developers+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-developers?hl=en.
>

Karen,

Do you have any idea how that caused the fail, it should be completely
innocuous?

Alex

-- 
"I disapprove of what you say, but I will defend to the death your
right to say it." -- Voltaire
"The people's good is the highest law." -- Cicero
"Code can always be simpler than you think, but never as simple as you
want" -- Me

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-develop...@googlegroups.com.
To unsubscribe from this group, send email to 
django-developers+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en.

Reply via email to