Hello,

I've created a simple reusable django package. This package basically consists 
out of a views.py file, with some helper functions.

I want to write some tests for what's in this file. This file contains a mixin 
, so I probably can't test it directly. 

What's the best way to test a django package ? 

Do I need to include some kind of example project that, uses my mixin and has 
tests files just as one would test a normal django application ?

I've tried googling but, there's little about this. Most of the things I've 
found where related to testing actual django applications.

Any help is appreciated.

Jonas


-- 
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