Replaced deprecated unittest method with the correct one.
Attach a file by drag & drop or click to upload