def METHOD_NAME(self):
    uploaded_file_path = self.get_uploaded_file_path()
    with uploaded_file_path.open("w") as f:
        f.write("abc")
    TemporaryUploadedFile.objects.delete_unused_files()
    self.assertFalse(uploaded_file_path.exists())