~ubuntu-branches/ubuntu/hardy/bzr/hardy-updates

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_log.py

  • Committer: Bazaar Package Importer
  • Author(s): Etienne Goyer
  • Date: 2007-06-14 16:20:21 UTC
  • mfrom: (1.1.26 upstream)
  • Revision ID: james.westby@ubuntu.com-20070614162021-mfokj7k70cv65j6n
Tags: 0.17~rc1-0ubuntu1
* New upstream development release
* debian/control: Setted Maintainer to ubuntu-dev, added Original-Maitainer 
* debian/rules: also remove man1/* and doc/developers/*.htm in the clean
  target

Show diffs side-by-side

added added

removed removed

Lines of Context:
148
148
        log = self.runbzr("log -r-1")[0]
149
149
        self.assertContainsRe(log, r'    tags: tag1')
150
150
 
 
151
    def test_log_limit(self):
 
152
        self._prepare()
 
153
        log = self.runbzr("log --limit 2")[0]
 
154
        self.assertTrue('revno: 1\n' not in log)
 
155
        self.assertTrue('revno: 2\n' in log)
 
156
        self.assertTrue('revno: 3\n' in log)
 
157
 
151
158
 
152
159
class TestLogMerges(ExternalBase):
153
160