Merge lp:~rvb/maas/network-listing-pagination into lp:~maas-committers/maas/trunk
Proposed by
Raphaël Badin
Status: | Merged |
---|---|
Approved by: | Raphaël Badin |
Approved revision: | no longer in the source branch. |
Merged at revision: | 2166 |
Proposed branch: | lp:~rvb/maas/network-listing-pagination |
Merge into: | lp:~maas-committers/maas/trunk |
Diff against target: |
44 lines (+16/-1) 2 files modified
src/maasserver/templates/maasserver/network_list.html (+1/-0) src/maasserver/views/tests/test_networks.py (+15/-1) |
To merge this branch: | bzr merge lp:~rvb/maas/network-listing-pagination |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jeroen T. Vermeulen (community) | Approve | ||
Review via email: mp+212579@code.launchpad.net |
Commit message
Fix network listing: add pagination.
To post a comment you must log in.
Paginated network listings? Somebody has been shopping for hardware. :-)
The output on that final test assertion is a nice touch.
I'm not usually one to argue against comments and documentation, but, in lines 35 and 36 of the diff:
# Create 4 networks.
factory. make_networks( 4)
Duh. :) Probably doesn't need the comment.
And in lines 38 and 39:
Test failures show response content now, so no more need to pass it to the assertion!