Hi all,

I've just submitted the second piece of the testing system puzzle; a mechanism for testing the context and templates that are produced in response to a URL. A patch and a more detailed commentary are attached to the ticket. The cliff notes version is that:
---
b = Browser()
response  = b.get('/widget/3')

assert response.status_code == 200
assert response.template.name = 'widget_display.html'
assert response.context ['widget_name'] = 'foo'
---
plus much more (POSTs, cookies for session control, login assistance) is possible.

The next piece I was going to tackle was setting up test fixtures.

However, I haven't had a great deal of feedback on the last set of patches - one or two positive comments, but certainly nothing concrete enough to lead me to commit them. Anybody got any comments? Or, alternatively, can anyone suggest when they will have time to give the matter some thought?

Thanks,
Russ Magee %-)


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Django developers" group.
To post to this group, send email to django-developers@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-developers
-~----------~----~----~----~------~----~------~--~---

Reply via email to