~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-02-23 17:00:36 UTC
  • mfrom: (4032.1.4 jam-integration)
  • Revision ID: pqm@pqm.ubuntu.com-20090223170036-3q1v68ewdt8i0to5
(Marius Kruger) Remove all trailing whitespace and add tests to
        enforce this.

Show diffs side-by-side

added added

removed removed

Lines of Context:
212
212
        self.assertEqual(branch.get_submit_branch(), 'sftp://example.com')
213
213
        branch.set_submit_branch('sftp://example.net')
214
214
        self.assertEqual(branch.get_submit_branch(), 'sftp://example.net')
215
 
        
 
215
 
216
216
    def test_public_branch(self):
217
217
        """public location can be queried and set"""
218
218
        branch = self.make_branch('branch')
258
258
                          None)
259
259
 
260
260
# TODO 20051003 RBC:
261
 
# compare the gpg-to-sign info for a commit with a ghost and 
 
261
# compare the gpg-to-sign info for a commit with a ghost and
262
262
#     an identical tree without a ghost
263
263
# fetch missing should rewrite the TOC of weaves to list newly available parents.
264
 
        
 
264
 
265
265
    def test_sign_existing_revision(self):
266
266
        wt = self.make_branch_and_tree('.')
267
267
        branch = wt.branch
352
352
 
353
353
    def test_nicks(self):
354
354
        """Test explicit and implicit branch nicknames.
355
 
        
 
355
 
356
356
        Nicknames are implicitly the name of the branch's directory, unless an
357
357
        explicit nickname is set.  That is, an explicit nickname always
358
358
        overrides the implicit one.