def test_changed(self):
        profile = models.Profile(avatar='avatars/test.jpg')
        profile.avatar._committed = False
        files = self.fake_save(profile)
        # 1 source, 4 specific thumbs, 1 project-wide thumb.
        self.assertEqual(len(files), 6)
Tests the partial image file is cleaned up after a read
dataset/ETHPy150Open SmileyChris/easy-thumbnails/easy_thumbnails/tests/test_aliases.py/GlobalGenerationTest.test_changed--crossover with--dataset/ETHPy150Open openstack/glance_store/glance_store/tests/unit/test_filesystem_store.py/TestStore.test_add_cleanup_on_read_failure