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

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

src/d/j/django-daguerre-2.1.1/daguerre/tests/unit/test_utils.py   django-daguerre(Download)
        """
        image = Image.open(self._data_path('100x50.psd'))
        self.assertNotIn(image.format, KEEP_FORMATS)
 
        storage_path = save_image(image, 'daguerre/test/nonkeeper.png',

src/d/j/django-daguerre-HEAD/daguerre/tests/unit/test_utils.py   django-daguerre(Download)
        """
        image = Image.open(self._data_path('100x50.psd'))
        self.assertNotIn(image.format, KEEP_FORMATS)
 
        storage_path = save_image(image, 'daguerre/test/nonkeeper.png',

src/d/j/django-daguerre-2.1.1/daguerre/tests/unit/test_management.py   django-daguerre(Download)
        clean = Clean()
        duplicates = clean._duplicate_adjustments()
        self.assertNotIn(adjusted3, duplicates)
        self.assertTrue(list(duplicates) == [adjusted1] or
                        list(duplicates) == [adjusted2])

src/d/j/django-daguerre-HEAD/daguerre/tests/unit/test_management.py   django-daguerre(Download)
        clean = Clean()
        duplicates = clean._duplicate_adjustments()
        self.assertNotIn(adjusted3, duplicates)
        self.assertTrue(list(duplicates) == [adjusted1] or
                        list(duplicates) == [adjusted2])