I've begun unittesting a TurboGears 1.0.7 project using testutil and/ or mechanize, run with nose, and I was having trouble testing a file uploaded using FileField. As best as I can tell from the various documentation related to testing TurboGears and sites in general, the tests are done through changing around the URL string to pass information to the controller. But you can't pass in files using that AFAIK.
I was wondering if anyone who has more experience testing TurboGears sites knew any techniques I could use to have the unit tests upload a test file to a page. Also, all the tests I've seen check the HTML code returned by the various requests. Are there any other techniques for unit testing TurboGears sites? Thank you. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" 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/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

