~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/branch_implementations/test_branch.py

  • Committer: Jelmer Vernooij
  • Date: 2009-05-28 16:14:16 UTC
  • mfrom: (4387 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4389.
  • Revision ID: jelmer@samba.org-20090528161416-k7x0l8hwuk2kyvsf
merge bzr.dev.

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