~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_branch.py

  • Committer: Vincent Ladeuil
  • Date: 2010-12-07 09:06:39 UTC
  • mto: This revision was merged to the branch mainline in revision 5567.
  • Revision ID: v.ladeuil+lp@free.fr-20101207090639-l77s4ix6oqqn76jx
Fix the remaining references to http://bazaar-vcs.org (except the explicitly historical ones).

Show diffs side-by-side

added added

removed removed

Lines of Context:
267
267
    def test_config(self):
268
268
        """Ensure that all configuration data is stored in the branch"""
269
269
        branch = self.make_branch('a', format=self.get_format_name())
270
 
        branch.set_parent('http://bazaar-vcs.org')
 
270
        branch.set_parent('http://example.com')
271
271
        self.failIfExists('a/.bzr/branch/parent')
272
 
        self.assertEqual('http://bazaar-vcs.org', branch.get_parent())
273
 
        branch.set_push_location('sftp://bazaar-vcs.org')
 
272
        self.assertEqual('http://example.com', branch.get_parent())
 
273
        branch.set_push_location('sftp://example.com')
274
274
        config = branch.get_config()._get_branch_data_config()
275
 
        self.assertEqual('sftp://bazaar-vcs.org',
 
275
        self.assertEqual('sftp://example.com',
276
276
                         config.get_user_option('push_location'))
277
 
        branch.set_bound_location('ftp://bazaar-vcs.org')
 
277
        branch.set_bound_location('ftp://example.com')
278
278
        self.failIfExists('a/.bzr/branch/bound')
279
 
        self.assertEqual('ftp://bazaar-vcs.org', branch.get_bound_location())
 
279
        self.assertEqual('ftp://example.com', branch.get_bound_location())
280
280
 
281
281
    def test_set_revision_history(self):
282
282
        builder = self.make_branch_builder('.', format=self.get_format_name())