~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_plugins.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-05-16 13:49:58 UTC
  • mfrom: (5851.2.2 trivial)
  • Revision ID: pqm@pqm.ubuntu.com-20110516134958-xkhcnr3lt1tc8ogt
(mbp) _format_version_tuple handles more different input patterns (Martin
 Pool)

Show diffs side-by-side

added added

removed removed

Lines of Context:
452
452
    def test_final_fallback__version__with_version_info(self):
453
453
        self.setup_plugin("version_info = (1, 2, 3, 'final', 2)")
454
454
        plugin = bzrlib.plugin.plugins()['plugin']
455
 
        self.assertEqual("1.2.3.final.2", plugin.__version__)
 
455
        self.assertEqual("1.2.3.2", plugin.__version__)
456
456
 
457
457
 
458
458
class TestPluginHelp(tests.TestCaseInTempDir):