/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to test_bb_version_info.py

  • Committer: John Arbash Meinel
  • Date: 2006-09-20 13:57:37 UTC
  • mto: (2022.1.1 version-info-55794)
  • mto: This revision was merged to the branch mainline in revision 2028.
  • Revision ID: john@arbash-meinel.com-20060920135737-52600d787db0b3a2
Add a test that a default format is chosen

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
 
44
44
        self.revisions = wt.branch.revision_history()
45
45
 
 
46
    def test_default(self):
 
47
        # smoketest that not supplying a --format still works
 
48
        self.create_branch()
 
49
 
 
50
        info = self.run_bzr('version-info', 'branch')[0]
 
51
 
46
52
    def test_rio(self):
47
53
        self.create_branch()
48
54
 
49
55
        def regen(*args):
50
 
            return self.run_bzr('version-info', '--format', 'rio', 
 
56
            return self.run_bzr('version-info', '--format', 'rio',
51
57
                                'branch', *args)[0]
52
58
 
53
59
        txt = regen()