~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Andrew Bennetts
  • Date: 2007-11-10 15:09:09 UTC
  • mfrom: (2916.2.17 streamable-containers)
  • mto: This revision was merged to the branch mainline in revision 3174.
  • Revision ID: andrew.bennetts@canonical.com-20071110150909-ik5254kgn930th10
Merge streamable-containers.

Show diffs side-by-side

added added

removed removed

Lines of Context:
167
167
 
168
168
    def test_clone_branch_nickname(self):
169
169
        # test the nick name is preserved always
170
 
        raise TestSkipped('XXX branch cloning is not yet tested..')
 
170
        raise TestSkipped('XXX branch cloning is not yet tested.')
171
171
 
172
172
    def test_clone_branch_parent(self):
173
173
        # test the parent is preserved always
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):