Changes between Initial Version and Version 1 of Ticket #30249, comment 3
- Timestamp:
- Mar 13, 2019, 9:00:39 AM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #30249, comment 3
initial v1 3 3 > It's both longer ... 4 4 5 If you feel this is a matter of ergonomics, then I'm happy to add a helper assert method. Something thislike `assertResponseException` such that5 If you feel this is a matter of ergonomics, then I'm happy to add a helper assert method. Something like `assertResponseException` such that 6 6 7 7 {{{ … … 17 17 {{{ 18 18 response = self.client.get('/detail/author/invalid/qs/') 19 self.assertResponseException(response, response, msg)19 self.assertResponseException(response, ImproperlyConfigured, msg) 20 20 }}} 21 21 22 I could then document itand use it throughout the Django test suite. WDYT?22 I could then document and use it throughout the Django test suite. WDYT? 23 23 24 24 > ... and less clear in intent.