~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_revisionnamespaces.py

  • Committer: Martin Pool
  • Date: 2007-02-20 07:50:00 UTC
  • mto: This revision was merged to the branch mainline in revision 2309.
  • Revision ID: mbp@sourcefrog.net-20070220075000-2hz26ddu1hm28jrl
Tag methods now available through Branch.tags.add_tag, etc

Show diffs side-by-side

added added

removed removed

Lines of Context:
355
355
        self.assertEqual(spec.spec, 'bzr-0.14')
356
356
 
357
357
    def test_lookup_tag(self):
358
 
        self.tree.branch.set_tag('bzr-0.14', 'r1')
 
358
        self.tree.branch.tags.set_tag('bzr-0.14', 'r1')
359
359
        self.assertInHistoryIs(1, 'r1', 'tag:bzr-0.14')
360
360
 
361
361
    def test_failed_lookup(self):