Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(8)  |  Call(8)  |  Derive(0)  |  Import(0)

src/c/o/collective.gallery-2.0.1/collective/gallery/tests/test_core.py   collective.gallery(Download)
    def test_get_photo(self):
        photo = self.view.get_photo()
        self.assertIsInstance(photo, dict)
        self.assertIn('url', photo)
        self.assertIn('title', photo)
        self.assertIn('description', photo)
        self.assertIn('thumb_url', photo)

src/c/o/collective.gallery-HEAD/collective/gallery/tests/test_core.py   collective.gallery(Download)
    def test_get_photo(self):
        photo = self.view.get_photo()
        self.assertIsInstance(photo, dict)
        self.assertIn('url', photo)
        self.assertIn('title', photo)
        self.assertIn('description', photo)
        self.assertIn('thumb_url', photo)