I would want the user to be able to pass multiple values to one command line argument. For example, if the contents of my contest.py has:
parser.addoption("--url", action="store")
Then I want the user to be able to do this:
python -m pytest test_file.py --url "www.example1.com" "www.example2.com"
This question is basically how to accept multiple arguments for one option.