Rewrote form widget tests as proper unittests.#5209
Rewrote form widget tests as proper unittests.#5209prestontimmons merged 1 commit intodjango:masterfrom prestontimmons:form-test-cleanup
Conversation
|
Here's an overview of where tests are moved to:
The following tests were kept in the
These are all obsoleted by the new rendering API.
This is more a |
There was a problem hiding this comment.
I wonder if this initialization needs to be done in setUpClass() or if doing it at the class-level would work?
class DateInputTest(WidgetTest):
widget = DateInput()
|
Looks good. I just did a few cleanups along the way: http://dpaste.com/0DTFH6C |
This is preparation for landing the template-based widget rendering patch and goes a long way to making these tests more useful for future development. The old doctest heritage is strong here.
|
Great. Thanks for reviewing this. |
No description provided.