On Thu, 29 Sep 2011 04:30:15 +0300
Yaşar Arabacı <yasar11...@gmail.com> wrote:

> I have accepted https://code.djangoproject.com/ticket/16519 . Before I
> started doing something, I tried to run tests. I thought tests/runtests.py
> would run all tests, but I am getting this error:
> 
> permission_protected_view_exception =
> permission_required('modeltests.test_perm',
> raise_exception=True)(_permission_protected_view)
> TypeError: permission_required() got an unexpected keyword argument
> 'raise_exception'
> 
> Is there something that I am doing wrong, or this is something expected
> (known bug?). How should I procede. Should I make my changes? or try to fix
> tests?

Are you sure that you are using the right version of Django to run the tests?

Try setting PYTHONPATH to the path of your local copy of the SVN repository.

Sebastian.

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@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