Hi.

I'm having the following problem while testing. I'm writing a unit test 
for a file upload (using newforms). This works. However, the file gets 
written to the same media directory as is used in normal work. I'd prefer 
this happened somewhere where it would have no impact on normal 
functioning, possibly /tmp. Does anyone have suggestions on what to do? 
One workaround would be to redefine the media directory in the tests 
themselves, if I can figure out how to do that...
                                                                 Faheem.

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to