Пример #1
0
 def test_isCommunity_extant(self):
     context = self._makeRoot()
     cf = context['communities'] = self._makeContext()
     cf['extant'] = self._makeContext()
     mailin = self._makeOne(context)
     self.failUnless(mailin.isCommunity('extant'))
Пример #2
0
 def test_isCommunity_extant(self):
     context = self._makeRoot()
     cf = context['communities'] = self._makeContext()
     cf['extant'] = self._makeContext()
     mailin = self._makeOne(context)
     self.failUnless(mailin.isCommunity('extant'))
Пример #3
0
 def test_isCommunity_nonesuch(self):
     context = self._makeRoot()
     context['communities'] = self._makeContext()
     mailin = self._makeOne(context)
     self.failIf(mailin.isCommunity('nonesuch'))
Пример #4
0
 def test_isCommunity_nonesuch(self):
     context = self._makeRoot()
     context['communities'] = self._makeContext()
     mailin = self._makeOne(context)
     self.failIf(mailin.isCommunity('nonesuch'))