/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: Vincent Ladeuil
  • Date: 2007-10-23 07:15:13 UTC
  • mfrom: (2926 +trunk)
  • mto: (2961.1.1 trunk)
  • mto: This revision was merged to the branch mainline in revision 2962.
  • Revision ID: v.ladeuil+lp@free.fr-20071023071513-elryt6g2at34d2ur
merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
539
539
                                   ensure_config_dir_exists)
540
540
        ensure_config_dir_exists()
541
541
        fn = locations_config_filename()
542
 
        print >> open(fn, 'wt'), ("[%s]\n"
543
 
                                  "push_location=foo" %
544
 
                                  self.get_branch().base[:-1])
 
542
        open(fn, 'wt').write(("[%s]\n"
 
543
                                  "push_location=foo\n" %
 
544
                                  self.get_branch().base[:-1]))
545
545
        self.assertEqual("foo", self.get_branch().get_push_location())
546
546
 
547
547
    def test_set_push_location(self):