/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 bzrlib/tests/branch_implementations/test_branch.py

  • Committer: Ian Clatworthy
  • Date: 2009-06-10 10:50:17 UTC
  • mfrom: (4426 +trunk)
  • mto: (4837.1.1 faster-log)
  • mto: This revision was merged to the branch mainline in revision 4844.
  • Revision ID: ian.clatworthy@canonical.com-20090610105017-f0xtw9m3hbrw098k
merge bzr.dev r4426

Show diffs side-by-side

added added

removed removed

Lines of Context:
625
625
        self.assertEqual('foo', branch.get_push_location())
626
626
 
627
627
 
 
628
class TestChildSubmitFormats(TestCaseWithBranch):
 
629
 
 
630
    def test_get_child_submit_format_default(self):
 
631
        self.assertEqual(None, self.get_branch().get_child_submit_format())
 
632
 
 
633
    def test_get_child_submit_format(self):
 
634
        branch = self.get_branch()
 
635
        branch.get_config().set_user_option('child_submit_format', '10')
 
636
        branch = self.get_branch()
 
637
        self.assertEqual('10', branch.get_child_submit_format())
 
638
 
 
639
 
628
640
class TestFormat(TestCaseWithBranch):
629
641
    """Tests for the format itself."""
630
642