MarketSquare / robotframework-archivelibrary

https://github.com/MarketSquare/robotframework-archivelibrary
22 stars 24 forks source link

Wrong delimiting char for M$ - '/' vs. '\\' #4

Closed br0kenbuild closed 9 years ago

br0kenbuild commented 9 years ago

robot returns: IOError: [Errno 2] No such file or directory: u'C:\ ... \folder/file.txt' (ellipsis used to shorten real path)

i pass 'Extract Zip File' the path up to (and including) last '/' (automatically converted by robot to '\' on M$) and method extracts zipped folder, but separates it with zipped file, with '/' which is for unix file-systems.

bbossola commented 9 years ago

The "extract" tests are running correctly on Windows. There's is one test failing, which is the "Is File In Archive", which is due to the fact that the test is using the OS separator rather than the standard "/" which is used internally in any supported archive format.

The issue described here may be related to #5

I will create a pull request to fix the test problem