def tearDown(self):
        p = Photo.objects.get()
        p.image.delete(save=False)
        shutil.rmtree(temp_storage_dir)
Make sure to delete the "uploaded" file to avoid clogging /tmp.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/tests/regressiontests/bug639/tests.py/Bug639Test.tearDown