示例#1
0
 def inside_directory(self):
     return IDirectory.providedBy(self.directory)
 def test_add(self):
     directory = self.add_directory('Daycare Centers')
     self.assertTrue(IDirectory.providedBy(directory))
     self.assertEqual(directory.id, 'daycare-centers')
示例#3
0
 def test_add(self):
     directory = self.add_directory('Daycare Centers')
     self.assertTrue(IDirectory.providedBy(directory))
     self.assertEqual(directory.id, 'Daycare Centers')
示例#4
0
 def inside_directory(self):
     return IDirectory.providedBy(self.directory)