~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_version_info.py

  • Committer: Ross Lagerwall
  • Date: 2012-08-07 06:32:51 UTC
  • mto: (6437.63.5 2.5)
  • mto: This revision was merged to the branch mainline in revision 6558.
  • Revision ID: rosslagerwall@gmail.com-20120807063251-x9p03ghg2ws8oqjc
Add bzrlib/locale to .bzrignore

bzrlib/locale is generated with ./setup.py build_mo which is in turn called
by ./setup.py build

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2005-2012, 2016 Canonical Ltd
 
1
# Copyright (C) 2005-2011 Canonical Ltd
2
2
#
3
3
# This program is free software; you can redistribute it and/or modify
4
4
# it under the terms of the GNU General Public License as published by
339
339
        builder = CustomVersionInfoBuilder(wt.branch, working_tree=wt,
340
340
            template='revno: {revno}')
341
341
        builder.generate(sio)
342
 
        self.assertEqual("revno: 0", sio.getvalue())
 
342
        self.assertEquals("revno: 0", sio.getvalue())
343
343
 
344
344
        builder = CustomVersionInfoBuilder(wt.branch, working_tree=wt, 
345
345
            template='{revno} revid: {revision_id}')
353
353
        builder = CustomVersionInfoBuilder(wt.branch, working_tree=wt, 
354
354
            template='{revno} revid: {revision_id}')
355
355
        builder.generate(sio)
356
 
        self.assertEqual("1.1.1 revid: o2", sio.getvalue())
 
356
        self.assertEquals("1.1.1 revid: o2", sio.getvalue())
357
357
 
358
358
    def regen(self, wt, tpl, **kwargs):
359
359
        sio = StringIO()