~ubuntu-branches/debian/sid/trac-bzr/sid

« back to all changes in this revision

Viewing changes to tracbzr/tests/test_changeset.py

  • Committer: Bazaar Package Importer
  • Author(s): Chris Lamb
  • Date: 2007-03-09 03:58:13 UTC
  • Revision ID: james.westby@ubuntu.com-20070309035813-ouzb56usywzt0s7q
Tags: upstream-0.2+bzr31
ImportĀ upstreamĀ versionĀ 0.2+bzr31

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
from tracbzr import tests
 
2
from tracbzr.backend import BzrChangeset
 
3
 
 
4
class TestChangeset(tests.TracTestCase):
 
5
 
 
6
    def test_current(self):
 
7
        cset = BzrChangeset(self.trac_repo(), None, 'current:', None)
 
8
        self.assertEqual([], list(cset.get_changes()))
 
9
        cset = BzrChangeset(self.trac_repo(), None, 'null:', None)
 
10
        self.assertEqual([], list(cset.get_changes()))