Fixes an issue in #1443 (closed) when the path is a full path instead of only the basename of the file
- Changed tests to pytest
- Added pytest to the send file method
Fixes an issue in #1443 (closed) when the path is a full path instead of only the basename of the file