~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_branch.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2010-12-14 16:27:12 UTC
  • mfrom: (5560.2.1 docs)
  • Revision ID: pqm@pqm.ubuntu.com-20101214162712-3tjnh2884hvsv616
(vila) Get rid of references to bazaar-vcs.org (Vincent Ladeuil)

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())