~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/translations/tests/test_translationtemplatesbuildjob.py

[r=sinzui][bug=568128] A branch is private if it is stacked on any
        private branches.

Show diffs side-by-side

added added

removed removed

Lines of Context:
249
249
    def test_private_branch(self):
250
250
        # We don't generate templates for private branches.
251
251
        branch = self._makeTranslationBranch(fake_pottery_compatible=True)
252
 
        removeSecurityProxy(branch).private = True
 
252
        removeSecurityProxy(branch).explicitly_private = True
253
253
        self.assertFalse(self.jobsource.generatesTemplates(branch))
254
254
 
255
255
    def test_scheduleTranslationTemplatesBuild_subscribed(self):