def test_no_snapshots_for_large_collections(self): # Ensure that no snapshots are made of the properties comments, # bug subscriptions and (un)affected users. for field_name in ('subscriptions', 'users_affected', 'users_unaffected', 'users_affected_with_dupes', 'messages', 'attachments', 'activity'): self.failUnless( IDoNotSnapshot.providedBy(IBug[field_name]), 'IBug.%s should not be included in snapshots, see bug 507642.' % field_name)
def test_no_snapshots_for_large_collections(self): # Ensure that no snapshots are made of the properties comments, # bug subscriptions and (un)affected users. for field_name in ( 'subscriptions', 'users_affected', 'users_unaffected', 'users_affected_with_dupes', 'messages', 'attachments', 'activity'): self.failUnless( IDoNotSnapshot.providedBy(IBug[field_name]), 'IBug.%s should not be included in snapshots, see bug 507642.' % field_name)
def test_translators(self): self.assertTrue( IDoNotSnapshot.providedBy(ILanguage['translators']), "ILanguage.translators should not be included in snapshots, " "see bug 553093.")
def test_translators(self): self.failUnless( IDoNotSnapshot.providedBy(ILanguage['translators']), "ILanguage.translators should not be included in snapshots, " "see bug 553093.")