~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/code/model/tests/test_branchvisibility.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-12-22 13:33:27 UTC
  • mfrom: (14575.1.1 megalint-10)
  • Revision ID: launchpad@pqm.canonical.com-20111222133327-9fjii9zqltlhmfyy
[r=jtv][no-qa] Lint.

Show diffs side-by-side

added added

removed removed

Lines of Context:
78
78
        branch = self.factory.makeBranch(owner=owner, private=True)
79
79
        naked_branch = removeSecurityProxy(branch)
80
80
 
81
 
        clear_cache() # clear authorization cache for check_permission
 
81
        clear_cache()  # Clear authorization cache for check_permission.
82
82
        access = AccessBranch(naked_branch)
83
83
        self.assertFalse(access.checkUnauthenticated())
84
84
        self.assertTrue(