Element-34 / py.saunter

sample framework for using selenium with python and page objects
Apache License 2.0
94 stars 35 forks source link

single-quoted -m argument on Windows fails; double-quoted one works #30

Closed mam-p closed 11 years ago

mam-p commented 12 years ago

The following command fails on Windows...

pysaunter.py -m '(smoke or regression) and not sort and not old_search' --collectonly

but this one works...

pysaunter.py -m "(smoke or regression) and not sort and not old_search" --collectonly

On MacOS, both work.

The output from the first command on WIndows (which I cannot figure out how to copy/paste from my VM!) is the usage message, followed by this line:

pysaunter.py: error: unrecognized arguments: or regression) and not sort and not old_search'

adamgoucher commented 11 years ago

dont use single quotes to enclose strings on windows. that's a windows-ism, nothing to do with py.saunter.