Ticket #1 (closed defect: fixed)
Routes integration for test running
| Reported by: | bbangert | Owned by: | bbangert |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.8 |
| Component: | testing | Version: | svn |
| Severity: | normal | Keywords: | |
| Cc: |
Description (last modified by bbangert) (diff)
Routes should be integrated for the tests. Thus instead of:
def test_index(self): response = self.app.get('/admin/comments')
It'd be:
def test_index(self): response = self.app.get(url_for(controller='admin', action='comments')
Change History
Note: See
TracTickets for help on using
tickets.