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')
def test_add(self): directory = self.add_directory('Daycare Centers') self.assertTrue(IDirectory.providedBy(directory)) self.assertEqual(directory.id, 'Daycare Centers')