~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/services/features/browser/tests/test_changelog.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-07-12 01:56:30 UTC
  • mfrom: (13404.1.1 revert-13392)
  • Revision ID: launchpad@pqm.canonical.com-20110712015630-mzy3uu3ujp5pqi9e
[release-critical=wgrant][r=wgrant][rollback=13392] Revert r13392. It
 breaks when there are multiple batchnavs on a single page.

Show diffs side-by-side

added added

removed removed

Lines of Context:
80
80
        self.assertEqual('change', batch._singular_heading)
81
81
        self.assertEqual('changes', batch._plural_heading)
82
82
        self.assertEqual(10, batch.default_size)
83
 
        self.assertEqual(None, batch.currentBatch().nextBatch().nextBatch())
 
83
        self.assertEqual(2, len(batch.getBatches()))
84
84
 
85
85
    def test_page_batched_changes(self):
86
86
        self.makeFeatureFlagChanges()