def METHOD_NAME(self):
    TemporaryUploadedFile.objects.create(
        created=timezone.now() - timedelta(hours=1),
        uploaded_file=ContentFile("abc", self.filename),
    )
    TemporaryUploadedFile.objects.delete_unused_files()
    self.assertEqual(TemporaryUploadedFile.objects.count(), 1)
    self.assertTrue(self.get_uploaded_file_path().exists())