Hi,

I'm trying to figure out how to create tests for my PermaLib app. It
uses ContentTypes to store permalinks for any model in a Django
project. Since the app itself has only one model, and it has no
get_absolute_url() (obviously, because it is not needed), I was trying
to find a way to define a model within the `tests.py`, to test storage
of premalinks, etc.

Is that possible, and how is it done? If it's not possible, how do I
test this?

The app itself is here:

http://github.com/foxbunny/django-permalib/tree/master


Best regards,


--
Branko
--~--~---------~--~----~------------~-------~--~----~
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 unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to