def test_job_removes_file_when_deleted(finished_conversion_job):
    assert finished_conversion_job.status == status.FINISHED
    file_path = finished_conversion_job.resulting_file.path
    assert file_path is not None
    assert os.path.exists(file_path)
    finished_conversion_job.delete()
    assert not os.path.exists(file_path)