~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Vincent Ladeuil
  • Date: 2011-09-08 08:03:35 UTC
  • mfrom: (6123.1.14 +trunk)
  • mto: This revision was merged to the branch mainline in revision 6252.
  • Revision ID: v.ladeuil+lp@free.fr-20110908080335-ddel4ir5grz945xa
Merge into trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
622
622
class TestChildSubmitFormats(per_branch.TestCaseWithBranch):
623
623
 
624
624
    def test_get_child_submit_format_default(self):
625
 
        self.assertEqual(None, self.get_branch().get_child_submit_format())
 
625
        submit_format = self.get_branch().get_child_submit_format()
 
626
        self.assertTrue(submit_format is None or
 
627
                        isinstance(submit_format, str))
626
628
 
627
629
    def test_get_child_submit_format(self):
628
630
        branch = self.get_branch()