2009/5/30 Filip Gruszczyński <[email protected]>:
>
> I am building a library for Django that provides some abstract views
> (I am using classes instead of functions), that can be used subclassed
> and used in any app. I would like to be able to test those views, so I
> subclass them during testing and would like to be able to attach them
> to some url, so they could be called with client.get or post. Is there
> any possibility to achieve this?

Django 1.0 TestCase already provides this capability, it is described
in the relevant documentation:

http://docs.djangoproject.com/en/dev/topics/testing/#urlconf-configuration

>
> --
> Filip Gruszczyński
>

-- 
Ramiro Morales
http://rmorales.net

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to